diff options
author | maya <maya@pkgsrc.org> | 2017-06-21 01:12:56 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2017-06-21 01:12:56 +0000 |
commit | 66405f3f37715b670e33d87d9d0530ec593a2f56 (patch) | |
tree | ae7449ec3ed081273f1d011a1e171e2f5dabd01e | |
parent | 013afb1e02f6569cf81004faaaa9972892ba50b5 (diff) | |
download | pkgsrc-66405f3f37715b670e33d87d9d0530ec593a2f56.tar.gz |
g95: don't try to link against a non-existent file on netbsd/powerpc.
untested but obvious change. currently showing up as a build failure of
math/blas as it attempts to link with crtsavres which is a linux file.
Bump PKGREVISION as the build succeeds.
-rw-r--r-- | lang/g95/Makefile | 4 | ||||
-rw-r--r-- | lang/g95/distinfo | 3 | ||||
-rw-r--r-- | lang/g95/patches/patch-gcc_config_rs600_netbsd.h | 16 |
3 files changed, 20 insertions, 3 deletions
diff --git a/lang/g95/Makefile b/lang/g95/Makefile index 222bde119a1..21426febed6 100644 --- a/lang/g95/Makefile +++ b/lang/g95/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.27 2016/08/16 00:53:41 dholland Exp $ +# $NetBSD: Makefile,v 1.28 2017/06/21 01:12:56 maya Exp $ DISTNAME= g95_source PKGNAME= g95-0.93 -PKGREVISION= 8 +PKGREVISION= 9 CATEGORIES= lang MASTER_SITES= http://ftp.g95.org/v${PKGVERSION_NOREV}/ EXTRACT_SUFX= .tgz diff --git a/lang/g95/distinfo b/lang/g95/distinfo index 2a1d0e08768..494238f91ab 100644 --- a/lang/g95/distinfo +++ b/lang/g95/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.28 2016/10/02 23:26:39 maya Exp $ +$NetBSD: distinfo,v 1.29 2017/06/21 01:12:56 maya Exp $ SHA1 (g95_source.tgz) = b5e503fd6459b65cbda73190685f9490230d9cff RMD160 (g95_source.tgz) = 98d03e9a1835f4b3553a72a798bdf1d90a757176 @@ -18,6 +18,7 @@ SHA1 (patch-gcc_config_dragonfly.h) = 6d46b7b4637a20b36e19a15e1eaffdfff6638de9 SHA1 (patch-gcc_config_freebsd-spec.h) = 508304b26b592518c3d3f43f466ac0a6542b2704 SHA1 (patch-gcc_config_i386_dragonfly.h) = 7d60d29b5ae636d69650e8c412a94f7a6045f6d9 SHA1 (patch-gcc_config_i386_dragonfly64.h) = 9d2d8512a913e58055fa5c1b7d85a109117dcfba +SHA1 (patch-gcc_config_rs600_netbsd.h) = 2e568e48f84024b7182762107c4ee76ee87fe43c SHA1 (patch-gcc_config_t-dragonfly) = dd8d5919af737dfb9e3c18be9a41b4e2c6f31155 SHA1 (patch-gcc_config_t-dragonfly-thread) = ebdb58dacf0dc5d0bf2f1f1707a7c6ab29ee308c SHA1 (patch-gcc_ginclude_stddef.h) = 60f51a470e03173803b5e20b1fa4d6882e8d1fe9 diff --git a/lang/g95/patches/patch-gcc_config_rs600_netbsd.h b/lang/g95/patches/patch-gcc_config_rs600_netbsd.h new file mode 100644 index 00000000000..8302b33f31a --- /dev/null +++ b/lang/g95/patches/patch-gcc_config_rs600_netbsd.h @@ -0,0 +1,16 @@ +$NetBSD: patch-gcc_config_rs600_netbsd.h,v 1.1 2017/06/21 01:12:56 maya Exp $ + +Don't try to link against a non-existent file on netbsd/powerpc + +--- ../gcc-4.1.2/gcc/config/rs6000/netbsd.h.orig 2005-06-25 01:22:41.000000000 +0000 ++++ ../gcc-4.1.2/gcc/config/rs6000/netbsd.h +@@ -76,8 +76,7 @@ + #define STARTFILE_SPEC NETBSD_STARTFILE_SPEC + + #undef ENDFILE_SPEC +-#define ENDFILE_SPEC \ +- "crtsavres%O%s %(netbsd_endfile_spec)" ++#define ENDFILE_SPEC "%(netbsd_endfile_spec)" + + #undef LIB_SPEC + #define LIB_SPEC NETBSD_LIB_SPEC |