summaryrefslogtreecommitdiff
path: root/lang/perl5/patches
diff options
context:
space:
mode:
authorjlam <jlam>2001-10-01 07:05:10 +0000
committerjlam <jlam>2001-10-01 07:05:10 +0000
commitc025b7a4b478b817784ed8b044d5e9fb6ddd411a (patch)
treeedcdd566800823ae52665ec13c27a081c1f81c19 /lang/perl5/patches
parent890bb6a5a3ab0d40292d7c7eb3ff9d98bdf51522 (diff)
downloadpkgsrc-c025b7a4b478b817784ed8b044d5e9fb6ddd411a.tar.gz
Update perl to 5.6.1nb4. Changes from version 5.6.1nb3 include:
* Ensure that shared objects/libraries created by perl Makefiles include the correct run-time library search path by also including the local libraries directories. For example, shared objects are linked on ELF platforms with "cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib", and not just "cc -L/usr/pkg/lib" as before.
Diffstat (limited to 'lang/perl5/patches')
-rw-r--r--lang/perl5/patches/patch-aa19
-rw-r--r--lang/perl5/patches/patch-ab18
2 files changed, 28 insertions, 9 deletions
diff --git a/lang/perl5/patches/patch-aa b/lang/perl5/patches/patch-aa
index d3999384aa7..9972518edbf 100644
--- a/lang/perl5/patches/patch-aa
+++ b/lang/perl5/patches/patch-aa
@@ -1,8 +1,17 @@
-$NetBSD: patch-aa,v 1.21 2001/09/17 18:04:44 tron Exp $
+$NetBSD: patch-aa,v 1.22 2001/10/01 07:05:11 jlam Exp $
---- Configure.orig Mon Mar 19 04:03:33 2001
-+++ Configure Mon Sep 17 11:59:02 2001
-@@ -6807,9 +6812,12 @@
+--- Configure.orig Sun Mar 18 22:03:33 2001
++++ Configure
+@@ -6598,7 +6598,7 @@
+ esac
+ for thisflag in $ldflags; do
+ case "$thisflag" in
+- -L*|-R*)
++ -L*|-R*|-Wl,-R*)
+ case " $dflt " in
+ *" $thisflag "*) ;;
+ *) dflt="$dflt $thisflag" ;;
+@@ -6807,9 +6807,12 @@
aix)
# We'll set it in Makefile.SH...
;;
@@ -16,7 +25,7 @@ $NetBSD: patch-aa,v 1.21 2001/09/17 18:04:44 tron Exp $
freebsd)
xxx="-Wl,-R$shrpdir"
;;
-@@ -14719,7 +14727,7 @@
+@@ -14719,7 +14722,7 @@
eval $inhdr
: see if this is a ieeefp.h system
diff --git a/lang/perl5/patches/patch-ab b/lang/perl5/patches/patch-ab
index bedeb8734b7..9b3cc22037f 100644
--- a/lang/perl5/patches/patch-ab
+++ b/lang/perl5/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.9 2001/09/12 18:58:57 jlam Exp $
+$NetBSD: patch-ab,v 1.10 2001/10/01 07:05:11 jlam Exp $
--- hints/netbsd.sh.orig Thu Feb 22 21:57:55 2001
-+++ hints/netbsd.sh Wed Sep 12 14:41:45 2001
-@@ -21,7 +21,11 @@
++++ hints/netbsd.sh
+@@ -21,12 +21,20 @@
if [ -f /usr/libexec/ld.elf_so ]; then
d_dlopen=$define
d_dlerror=$define
@@ -15,7 +15,17 @@ $NetBSD: patch-ab,v 1.9 2001/09/12 18:58:57 jlam Exp $
cccdlflags="-DPIC -fPIC $cccdlflags"
lddlflags="--whole-archive -shared $lddlflags"
elif [ "`uname -m`" = "pmax" ]; then
-@@ -59,12 +63,13 @@
+ # NetBSD 1.3 and 1.3.1 on pmax shipped an `old' ld.so, which will not work.
+- d_dlopen=$undef
++ case "$osvers" in
++ 1.3|1.3.1)
++ d_dlopen=$undef
++ ;;
++ esac
+ elif [ -f /usr/libexec/ld.so ]; then
+ d_dlopen=$define
+ d_dlerror=$define
+@@ -59,12 +67,13 @@
d_setruid="$undef"
# there's no problem with vfork.