diff options
author | wiz <wiz> | 2013-07-18 22:17:33 +0000 |
---|---|---|
committer | wiz <wiz> | 2013-07-18 22:17:33 +0000 |
commit | c725c8ad3d9e351767a4a7fc6f9cd52cfa3f3260 (patch) | |
tree | 7252bc729015330dd008bbdb2d762a52ff71db56 /lang/perl5 | |
parent | fbdf0614425b72245db160aef535c5b0004ccebc (diff) | |
download | pkgsrc-c725c8ad3d9e351767a4a7fc6f9cd52cfa3f3260.tar.gz |
Fix netbsd hints:
--whole-archive is a linker flag, not a compiler flag.
Bump PKGREVISION.
Hopefully improves p5-gettext with clang from pkgsrc.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/Makefile | 4 | ||||
-rw-r--r-- | lang/perl5/distinfo | 4 | ||||
-rw-r--r-- | lang/perl5/patches/patch-hints_netbsd.sh | 18 |
3 files changed, 20 insertions, 6 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index bdccbd07a2c..a86314b99a9 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.206 2013/07/15 09:27:00 ryoon Exp $ +# $NetBSD: Makefile,v 1.207 2013/07/18 22:17:33 wiz Exp $ .include "license.mk" .include "Makefile.common" -PKGREVISION= 1 +PKGREVISION= 2 COMMENT= Practical Extraction and Report Language CONFLICTS= perl-base-[0-9]* perl-thread-[0-9]* \ diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo index bdb92abf21b..861327b500d 100644 --- a/lang/perl5/distinfo +++ b/lang/perl5/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.104 2013/07/18 07:21:02 adam Exp $ +$NetBSD: distinfo,v 1.105 2013/07/18 22:17:33 wiz Exp $ SHA1 (perl-5.18.0.tar.gz) = f5a97a9fa4e9d0ef9c4b313c5b778a0e76291ee2 RMD160 (perl-5.18.0.tar.gz) = 10774aa60a76b30579aedf23f4a21775301e3235 @@ -14,7 +14,7 @@ SHA1 (patch-ck) = 5c381db130cdf4c315678e2d65380eaaa3065fee SHA1 (patch-cn) = d1877383e213a414562b5bb4c1e8aa785926fab7 SHA1 (patch-hints_cygwin.sh) = 1b21d927d6b7379754c4cd64a2b05d3632c35470 SHA1 (patch-hints_darwin.sh) = c561d1862f8ca76652a35741c691394eb8cda70a -SHA1 (patch-hints_netbsd.sh) = 8a0656a72e81461f461757712b7fc27ad8928028 +SHA1 (patch-hints_netbsd.sh) = 3be421aed9a7fed5c9093c038949a60f55de24a3 SHA1 (patch-hv.c) = 0ed39926d620724db6d612a717d84b4efa129162 SHA1 (patch-regexec.c) = 4fb7840347bd08739ae2dcb3d133212474e168fc SHA1 (patch-t_re_pat__rt__report.t) = 139161459885bda91a2cbd0f96c57d6d88e52713 diff --git a/lang/perl5/patches/patch-hints_netbsd.sh b/lang/perl5/patches/patch-hints_netbsd.sh index 7a74bd3d6f2..fb08b6d4c86 100644 --- a/lang/perl5/patches/patch-hints_netbsd.sh +++ b/lang/perl5/patches/patch-hints_netbsd.sh @@ -1,7 +1,21 @@ -$NetBSD: patch-hints_netbsd.sh,v 1.3 2013/01/03 10:11:34 dholland Exp $ +$NetBSD: patch-hints_netbsd.sh,v 1.4 2013/07/18 22:17:33 wiz Exp $ ---- hints/netbsd.sh~ 2012-10-11 18:20:45.000000000 +0000 +--whole-archive is a linker flag, not a compiler flag +Better defaults for paths. + +--- hints/netbsd.sh.orig 2013-05-01 02:52:55.000000000 +0000 +++ hints/netbsd.sh +@@ -41,8 +41,8 @@ case "$osvers" in + # system gcc to build correctly, so check for it + echo 'int f(void) { return 0; }' >try.c + if ${cc:-cc} $cccdlflags -c try.c -otry.o 2>&1 && +- ${cc:-cc} --whole-archive $lddlflags try.o -otry.so 2>&1 ; then +- lddlflags="--whole-archive $lddlflags" ++ ${cc:-cc} -Wl,--whole-archive $lddlflags try.o -otry.so 2>&1 ; then ++ lddlflags="-Wl,--whole-archive $lddlflags" + fi + rm try.c try.o try.so 2>/dev/null + EOCBU @@ -186,10 +186,12 @@ esac EOCBU |