diff options
author | tv <tv@pkgsrc.org> | 1998-12-02 21:14:41 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1998-12-02 21:14:41 +0000 |
commit | 28e918eeb14afe3335d447749c3b8237b50b2826 (patch) | |
tree | ff960133e4ead0b71a7388e9f85cf8ef78032a24 /lang | |
parent | f57d62862ca7d82bc254ccca60a86c0624f7dac2 (diff) | |
download | pkgsrc-28e918eeb14afe3335d447749c3b8237b50b2826.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')
-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? |