diff options
author | tron <tron@pkgsrc.org> | 2006-08-08 15:27:36 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2006-08-08 15:27:36 +0000 |
commit | 773f59b726e61fbbd47417e831f7ef48e47cc741 (patch) | |
tree | 8187bfdefd8a5a9857cb73b7842a2cf47c30135a /lang/perl5 | |
parent | 3e6da8d5ebfec0440972d6100b4626903b3dbae9 (diff) | |
download | pkgsrc-773f59b726e61fbbd47417e831f7ef48e47cc741.tar.gz |
Make this build under NetBSD 4.x.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/distinfo | 4 | ||||
-rw-r--r-- | lang/perl5/patches/patch-ba | 24 |
2 files changed, 22 insertions, 6 deletions
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo index dfdf1d26a1a..23ecbe88d45 100644 --- a/lang/perl5/distinfo +++ b/lang/perl5/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.35 2006/07/02 20:35:53 rillig Exp $ +$NetBSD: distinfo,v 1.36 2006/08/08 15:27:36 tron Exp $ SHA1 (perl-5.8.8.tar.bz2) = 4aab490040727ca4419098720eca2ba4367df539 RMD160 (perl-5.8.8.tar.bz2) = e78f26d9b96e6db35f946ad4ff55e3a69385c71b @@ -11,7 +11,7 @@ SHA1 (patch-an) = 987763c3098bf4356993dd6d8741962a1ff8190d SHA1 (patch-ap) = 178d6909a8aa6544b849c2b63530fcf1893b77ea SHA1 (patch-aq) = b9569d0cd74a06912e82498cd2bfba131c0b6f3b SHA1 (patch-ar) = 9d257ceeca337e3d477b80215560bbc290d19dd2 -SHA1 (patch-ba) = 096835f71a69f29e50bdad47944afa838dba5aec +SHA1 (patch-ba) = be9c81ce4999c3f1f0d017e9d9c2bfcb2e8b2469 SHA1 (patch-ca) = 5ed14e043a6d5f8dadf5711b59418f01aa5f6f21 SHA1 (patch-cb) = 65e523885a404b79349a5c9601fe52965772d820 SHA1 (patch-ce) = 6b1efab32c6bc28e0faf7522322e6d805eb21730 diff --git a/lang/perl5/patches/patch-ba b/lang/perl5/patches/patch-ba index ba0598b86f1..dc298af9c69 100644 --- a/lang/perl5/patches/patch-ba +++ b/lang/perl5/patches/patch-ba @@ -1,13 +1,13 @@ -$NetBSD: patch-ba,v 1.2 2005/06/24 06:43:47 jlam Exp $ +$NetBSD: patch-ba,v 1.3 2006/08/08 15:27:36 tron Exp $ ---- hints/netbsd.sh.orig 2003-08-07 12:57:56.000000000 -0400 -+++ hints/netbsd.sh 2004-06-06 18:45:19.000000000 -0400 +--- hints/netbsd.sh.orig 2003-08-07 17:57:56.000000000 +0100 ++++ hints/netbsd.sh 2006-08-08 16:21:27.000000000 +0100 @@ -78,6 +78,30 @@ d_setreuid="$undef" ;; esac +case "$osvers" in -+0.9*|1.*|2.*|3.*) ++0.9*|1.*|2.*|3.*|4.*) + d_getprotoent_r="$undef" + d_getprotobyname_r="$undef" + d_getprotobynumber_r="$undef" @@ -57,3 +57,19 @@ $NetBSD: patch-ba,v 1.2 2005/06/24 06:43:47 jlam Exp $ case `uname -m` in alpha) echo 'int main() {}' > try.c +@@ -179,3 +186,15 @@ + sparc) d_semctl_semid_ds=undef ;; + esac + ++ ++cat > UU/pkgsrc.cbu <<'EOCBU' ++# This script UU/pkgsrc.cbu will get 'called-back' by Configure to set ++# linker options after all other call-back scripts have been invoked. ++ldflags="-Wl,-R/usr/pkg/lib $ldflags" ++lddlflags="-Wl,-R/usr/pkg/lib $lddlflags" ++EOCBU ++ ++# Set pkgsrc defaults for library and header search paths. ++locincpth="/usr/pkg/include" ++loclibpth="/usr/pkg/lib" ++glibpth="/usr/lib" |