diff options
author | mrg <mrg@pkgsrc.org> | 2014-08-12 05:41:39 +0000 |
---|---|---|
committer | mrg <mrg@pkgsrc.org> | 2014-08-12 05:41:39 +0000 |
commit | 1afddb6d9878fec122fb0376e4d68d4b8423183c (patch) | |
tree | f5cdbc899ecee81171abb9092c2b60dfc1814f2e /lang/perl5 | |
parent | 7d9220ff8b5eefb167a9d3764f86b22576b97303 (diff) | |
download | pkgsrc-1afddb6d9878fec122fb0376e4d68d4b8423183c.tar.gz |
adjust a pattern to match 0.8 vs everything else.
fixes build on netbsd-7, which was matching "not everything else"
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/distinfo | 4 | ||||
-rw-r--r-- | lang/perl5/patches/patch-hints_netbsd.sh | 25 |
2 files changed, 20 insertions, 9 deletions
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo index cbb160f87a5..39783ac4bd2 100644 --- a/lang/perl5/distinfo +++ b/lang/perl5/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.121 2014/06/08 23:35:55 joerg Exp $ +$NetBSD: distinfo,v 1.122 2014/08/12 05:41:39 mrg Exp $ SHA1 (perl-5.20.0.tar.bz2) = e925e4fc36e90eace19a1ca850f912618ba6788f RMD160 (perl-5.20.0.tar.bz2) = a14fa854f2d50aa5f16ff3a982244dd6cd0c4730 @@ -17,7 +17,7 @@ SHA1 (patch-cpan_Socket_Socket.xs) = 9390c42ad456b0ea114c2e57e4d829d630fb698e SHA1 (patch-ext_Errno_Errno__pm.PL) = 4f135e267da17de38f8f1e7e03d5209bfd09a323 SHA1 (patch-hints_cygwin.sh) = 1b21d927d6b7379754c4cd64a2b05d3632c35470 SHA1 (patch-hints_darwin.sh) = c561d1862f8ca76652a35741c691394eb8cda70a -SHA1 (patch-hints_netbsd.sh) = 027722c47bb01aa8db21e534178432cd26b49cdf +SHA1 (patch-hints_netbsd.sh) = 16a8b649e23b1d03f4756ec283da44cc08ea9a6b SHA1 (patch-hints_sco.sh) = 8d43cdc0632799e1cdb5dc6fdb968052a9ae4216 SHA1 (patch-install__lib.pl) = 31e9e0fc34386542dd6a60bf6ca0a607babbd4b6 SHA1 (patch-ta) = a9d13eeec22733e4087942f217a0d47a19498a6f diff --git a/lang/perl5/patches/patch-hints_netbsd.sh b/lang/perl5/patches/patch-hints_netbsd.sh index e48e3b3853e..a195415b5ee 100644 --- a/lang/perl5/patches/patch-hints_netbsd.sh +++ b/lang/perl5/patches/patch-hints_netbsd.sh @@ -1,12 +1,12 @@ -$NetBSD: patch-hints_netbsd.sh,v 1.8 2013/11/13 13:36:02 joerg Exp $ +$NetBSD: patch-hints_netbsd.sh,v 1.9 2014/08/12 05:41:39 mrg Exp $ --whole-archive is a linker flag, not a compiler flag Better defaults for paths. Stop grovelling for functions we don't want to provide (*host*) ---- hints/netbsd.sh.orig 2013-05-23 23:38:10.000000000 +0000 -+++ hints/netbsd.sh -@@ -36,16 +36,6 @@ case "$osvers" in +--- hints/netbsd.sh.orig 2014-08-11 22:30:50.000000000 -0700 ++++ hints/netbsd.sh 2014-08-11 22:32:13.000000000 -0700 +@@ -36,16 +36,6 @@ d_dlerror=$define cccdlflags="-DPIC -fPIC $cccdlflags" lddlflags="-shared $lddlflags" @@ -23,7 +23,18 @@ Stop grovelling for functions we don't want to provide (*host*) rpathflag="-Wl,-rpath," case "$osvers" in 1.[0-5]*) -@@ -100,6 +90,12 @@ case "$osvers" in +@@ -89,7 +79,9 @@ + ;; + esac + case "$osvers" in +-0.9*|1.*|2.*|3.*|4.*|5.*|6.*) ++0.8*) ++ ;; ++*) + d_getprotoent_r="$undef" + d_getprotobyname_r="$undef" + d_getprotobynumber_r="$undef" +@@ -100,6 +92,12 @@ d_getservbyport_r="$undef" d_setservent_r="$undef" d_endservent_r="$undef" @@ -36,7 +47,7 @@ Stop grovelling for functions we don't want to provide (*host*) d_getprotoent_r_proto="0" d_getprotobyname_r_proto="0" d_getprotobynumber_r_proto="0" -@@ -110,6 +106,12 @@ case "$osvers" in +@@ -110,6 +108,12 @@ d_getservbyport_r_proto="0" d_setservent_r_proto="0" d_endservent_r_proto="0" @@ -49,7 +60,7 @@ Stop grovelling for functions we don't want to provide (*host*) ;; esac -@@ -186,10 +188,12 @@ esac +@@ -186,10 +190,12 @@ EOCBU # Set sensible defaults for NetBSD: look for local software in |