diff options
author | rillig <rillig@pkgsrc.org> | 2006-07-27 18:49:47 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-07-27 18:49:47 +0000 |
commit | 216fd758a91b1d85b64434b23dbc161b31941a8c (patch) | |
tree | 645af60d7bcb5e451d364080d2db6505e830e7d7 /math | |
parent | ccdf6dbe011a337bc2277f0b33cc72c6787b9cab (diff) | |
download | pkgsrc-216fd758a91b1d85b64434b23dbc161b31941a8c.tar.gz |
When all source files are compiled with a Fortran compiler, why should a
C compiler be used for linking them?
Diffstat (limited to 'math')
-rw-r--r-- | math/slatec/Makefile | 4 | ||||
-rw-r--r-- | math/slatec/distinfo | 4 | ||||
-rw-r--r-- | math/slatec/patches/patch-aa | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/math/slatec/Makefile b/math/slatec/Makefile index 4e3048e6100..a3de1c3bfc9 100644 --- a/math/slatec/Makefile +++ b/math/slatec/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2005/04/11 21:46:31 tv Exp $ +# $NetBSD: Makefile,v 1.17 2006/07/27 18:49:47 rillig Exp $ # DISTNAME= slatec_src @@ -21,6 +21,6 @@ USE_LANGUAGES= fortran USE_LIBTOOL= YES post-extract: - cd ${FILESDIR} && ${CP} d1mach.f i1mach.f r1mach.f ${WRKSRC} + cd ${FILESDIR} && cp d1mach.f i1mach.f r1mach.f ${WRKSRC} .include "../../mk/bsd.pkg.mk" diff --git a/math/slatec/distinfo b/math/slatec/distinfo index 8c9638cff18..fec53d96cb1 100644 --- a/math/slatec/distinfo +++ b/math/slatec/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2005/02/23 12:06:58 agc Exp $ +$NetBSD: distinfo,v 1.5 2006/07/27 18:49:47 rillig Exp $ SHA1 (slatec_src.tgz) = 9ff75f3976fa4a5544806a29bf8402aab2132ee0 RMD160 (slatec_src.tgz) = f4393d91e25ecd2ec0cae6b25d4b2829afcd4291 Size (slatec_src.tgz) = 2373787 bytes -SHA1 (patch-aa) = 203dceed5ed095af100e7fc0d27ba89378faa21b +SHA1 (patch-aa) = e9df720c0ca20a1280987dab8f3056b75bef1aeb diff --git a/math/slatec/patches/patch-aa b/math/slatec/patches/patch-aa index abd83793060..4637c92f1f0 100644 --- a/math/slatec/patches/patch-aa +++ b/math/slatec/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1 2003/12/04 15:10:48 adam Exp $ +$NetBSD: patch-aa,v 1.2 2006/07/27 18:49:47 rillig Exp $ --- /dev/null 2003-12-04 12:37:08.000000000 +0000 +++ Makefile @@ -208,7 +208,7 @@ $NetBSD: patch-aa,v 1.1 2003/12/04 15:10:48 adam Exp $ + ${LIBTOOL} --mode=compile --tag=CC ${COMPILE.f} ${.IMPSRC} + +lib$(LIB).a: $(OBJS) -+ ${LIBTOOL} --mode=link ${CC} -o ${.TARGET:.a=.la} ${OBJS:.o=.lo} \ ++ ${LIBTOOL} --mode=link ${LINK.f} -o ${.TARGET:.a=.la} ${OBJS:.o=.lo} \ + -rpath ${PREFIX}/lib -version-info 4:1 + +# These three files should be compiled without any optimization. |