diff options
author | tv <tv> | 1998-12-02 21:14:41 +0000 |
---|---|---|
committer | tv <tv> | 1998-12-02 21:14:41 +0000 |
commit | 99ee4b692ff4aa6a0f164f3b4e4290e76b81592e (patch) | |
tree | ff960133e4ead0b71a7388e9f85cf8ef78032a24 /lang/perl5 | |
parent | 1f1cd45776459c0f9117b69c1e3320c4e2b76c76 (diff) | |
download | pkgsrc-99ee4b692ff4aa6a0f164f3b4e4290e76b81592e.tar.gz |
Move the rpath setting from hints/netbsd.sh to Configure. In hints, it
adds an extra rpath of -Wl-R/CORE.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/patches/patch-aa | 12 | ||||
-rw-r--r-- | lang/perl5/patches/patch-af | 22 |
2 files changed, 16 insertions, 18 deletions
diff --git a/lang/perl5/patches/patch-aa b/lang/perl5/patches/patch-aa index 7a75964aa73..659b513056f 100644 --- a/lang/perl5/patches/patch-aa +++ b/lang/perl5/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.10 1998/12/02 02:28:30 tv Exp $ +$NetBSD: patch-aa,v 1.11 1998/12/02 21:14:41 tv Exp $ --- Configure.orig Fri Oct 3 13:57:39 1997 -+++ Configure Tue Dec 1 20:42:23 1998 ++++ Configure Wed Dec 2 14:30:27 1998 @@ -65,7 +65,7 @@ fi @@ -124,7 +124,13 @@ $NetBSD: patch-aa,v 1.10 1998/12/02 02:28:30 tv Exp $ fi;; esac case "$libpth" in -@@ -4747,10 +4746,10 @@ +@@ -4742,15 +4741,15 @@ + shrpdir=$archlibexp/CORE + xxx='' + tmp_shrpenv='' +-if "$useshrplib"; then ++if true; then + case "$osname" in aix) # We'll set it in Makefile.SH... ;; diff --git a/lang/perl5/patches/patch-af b/lang/perl5/patches/patch-af index ff29df0706e..1c9acf60fd4 100644 --- a/lang/perl5/patches/patch-af +++ b/lang/perl5/patches/patch-af @@ -1,7 +1,7 @@ -$NetBSD: patch-af,v 1.5 1998/12/02 15:41:02 tv Exp $ +$NetBSD: patch-af,v 1.6 1998/12/02 21:14:41 tv Exp $ --- hints/netbsd.sh.orig Thu May 8 11:52:59 1997 -+++ hints/netbsd.sh Wed Dec 2 10:38:28 1998 ++++ hints/netbsd.sh Wed Dec 2 14:21:34 1998 @@ -1,12 +1,11 @@ # hints/netbsd.sh # @@ -57,7 +57,7 @@ $NetBSD: patch-af,v 1.5 1998/12/02 15:41:02 tv Exp $ ;; esac -@@ -47,13 +46,26 @@ +@@ -47,15 +46,18 @@ # way to make perl call setuid() or setgid(). if they aren't, then # ($<, $>) = ($u, $u); will work (same for $(/$)). this is because # you can not change the real userid of a process under 4.4BSD. @@ -70,19 +70,11 @@ $NetBSD: patch-af,v 1.5 1998/12/02 15:41:02 tv Exp $ d_setreuid="$undef" d_setrgid="$undef" d_setruid="$undef" -+ ;; -+esac + ;; + esac + +# there's no problem with vfork. +d_vfork="$define" -+ -+# in case the user installs a shared libperl, with or without the static lib, -+# give us a "rpath" for third party binary builds: -+case "$osvers" in -+0*|1.[01]*) -+ ;; -+*) -+ ccdlflags="-Wl,-R$archlibexp/CORE $ccdlflags" - ;; - esac + # Avoid telldir prototype conflict in pp_sys.c (NetBSD uses const DIR *) + # Configure should test for this. Volunteers? |