summaryrefslogtreecommitdiff
path: root/lang/g95/patches
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2015-11-07 22:56:13 +0000
committerhe <he@pkgsrc.org>2015-11-07 22:56:13 +0000
commit95b4eec7344822aa1bedb9eb466be9196394842a (patch)
tree4179caceafc2f5407ffac52d5824d96de69203ef /lang/g95/patches
parent0876a1283f2ae852109acddac60b20f32672a847 (diff)
downloadpkgsrc-95b4eec7344822aa1bedb9eb466be9196394842a.tar.gz
Let g95 build for NetBSD powerpc as well: treat NetBSD the same
as Linux in terms of FPU usage. Since this is only a build fix for the NetBSD powerpc ports, there's no revision bump.
Diffstat (limited to 'lang/g95/patches')
-rw-r--r--lang/g95/patches/patch-configure (renamed from lang/g95/patches/patch-ac)14
1 files changed, 13 insertions, 1 deletions
diff --git a/lang/g95/patches/patch-ac b/lang/g95/patches/patch-configure
index 3dc12c3c8a5..37d6c7528a9 100644
--- a/lang/g95/patches/patch-ac
+++ b/lang/g95/patches/patch-configure
@@ -1,6 +1,7 @@
-$NetBSD: patch-ac,v 1.3 2013/02/04 20:31:44 markd Exp $
+$NetBSD: patch-configure,v 1.1 2015/11/07 22:56:13 he Exp $
Use $host_alias in the gcc-libdir path so it matches ${MACHINE_GNU_PLATFORM}
+Treat NetBSD/powerpc as Linux powerpc.
--- configure.orig 2010-04-22 04:07:13.000000000 +0000
+++ configure
@@ -13,3 +14,14 @@ Use $host_alias in the gcc-libdir path so it matches ${MACHINE_GNU_PLATFORM}
SAVE_DIR=`pwd`
PREFIX=$prefix
+@@ -4911,6 +4911,10 @@ $as_echo "#define FPU_PPC_LINUX 1" >>con
+
+ ;;
+
++ *netbsd*)
++$as_echo "#define FPU_PPC_LINUX 1" >>confdefs.h
++ ;;
++
+ *)
+ echo host = $host
+ as_fn_error "Unknown powerpc architecture" "$LINENO" 5