pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/g95 g95: don't try to link against a non-existent...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/517de8abd985
branches:  trunk
changeset: 364104:517de8abd985
user:      maya <maya%pkgsrc.org@localhost>
date:      Wed Jun 21 01:12:56 2017 +0000

description:
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.

diffstat:

 lang/g95/Makefile                                |   4 ++--
 lang/g95/distinfo                                |   3 ++-
 lang/g95/patches/patch-gcc_config_rs600_netbsd.h |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r 54c5e9dd2f60 -r 517de8abd985 lang/g95/Makefile
--- a/lang/g95/Makefile Wed Jun 21 01:10:25 2017 +0000
+++ b/lang/g95/Makefile Wed Jun 21 01:12:56 2017 +0000
@@ -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 -r 54c5e9dd2f60 -r 517de8abd985 lang/g95/distinfo
--- a/lang/g95/distinfo Wed Jun 21 01:10:25 2017 +0000
+++ b/lang/g95/distinfo Wed Jun 21 01:12:56 2017 +0000
@@ -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_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 -r 54c5e9dd2f60 -r 517de8abd985 lang/g95/patches/patch-gcc_config_rs600_netbsd.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/g95/patches/patch-gcc_config_rs600_netbsd.h  Wed Jun 21 01:12:56 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index