diff options
author | he <he@pkgsrc.org> | 2015-11-07 22:56:13 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2015-11-07 22:56:13 +0000 |
commit | 95b4eec7344822aa1bedb9eb466be9196394842a (patch) | |
tree | 4179caceafc2f5407ffac52d5824d96de69203ef /lang/g95 | |
parent | 0876a1283f2ae852109acddac60b20f32672a847 (diff) | |
download | pkgsrc-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')
-rw-r--r-- | lang/g95/distinfo | 4 | ||||
-rw-r--r-- | lang/g95/patches/patch-configure (renamed from lang/g95/patches/patch-ac) | 14 |
2 files changed, 15 insertions, 3 deletions
diff --git a/lang/g95/distinfo b/lang/g95/distinfo index b98844b1409..1d220b6a934 100644 --- a/lang/g95/distinfo +++ b/lang/g95/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.23 2015/11/03 22:50:34 agc Exp $ +$NetBSD: distinfo,v 1.24 2015/11/07 22:56:13 he Exp $ SHA1 (g95_source.tgz) = b5e503fd6459b65cbda73190685f9490230d9cff RMD160 (g95_source.tgz) = 98d03e9a1835f4b3553a72a798bdf1d90a757176 @@ -9,7 +9,7 @@ RMD160 (gcc-core-4.1.2.tar.bz2) = 612cbd5b795f7095fb3f565e6a8eaaee82c472c5 SHA512 (gcc-core-4.1.2.tar.bz2) = 002a2025f809781e8d427c00dfe884429ae094ad417edc3393f5bae249ae6049ea0c27e43caf51f9f15525bd35e24ad2c993c57f191b9196fdb68fd20e503f6e Size (gcc-core-4.1.2.tar.bz2) = 17485561 bytes SHA1 (patch-ab) = 7429a4da26aa573dcdd94bf417da1e009f95d273 -SHA1 (patch-ac) = b20a90cc2f9078cf0048980b75fa6836da0f28a8 +SHA1 (patch-configure) = 48450808201d4ea5ddb993627c4efeaf43d53bd2 SHA1 (patch-g95spec.c) = d6f434e715835cd39511c45ed18632c8401b78a2 SHA1 (patch-gcc_Makefile.in) = cc5cc142a85612ebf2d38513e4b05db0ae795268 SHA1 (patch-gcc_config.gcc) = 36d6af33ee7997d67179090114dfd8fc3e403a74 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 |