summaryrefslogtreecommitdiff
path: root/lang/perl5/patches/patch-ab
diff options
context:
space:
mode:
authorjlam <jlam>2001-09-05 17:13:40 +0000
committerjlam <jlam>2001-09-05 17:13:40 +0000
commit427edb455e478496d564bd06c60f375848f79248 (patch)
tree467c0c79b247b5a4a1bd5d528d1051917d34a847 /lang/perl5/patches/patch-ab
parent19c48947dde718ea9adec71766fa51ecbedd324c (diff)
downloadpkgsrc-427edb455e478496d564bd06c60f375848f79248.tar.gz
Update perl to 5.6.1nb2. Changes from perl-5.6.1nb1 include undoing the
perl mess I created a year ago and making this a vanilla perl installation again, and explicitly setting the system library path so that /usr/local/* doesn't appear anywhere. The installed perl library now also includes CGI.pm-2.752. The www/p5-CGI package installs in to ${PERL5_SITEARCH} so there is no conflict with the "standard" CGI.pm.
Diffstat (limited to 'lang/perl5/patches/patch-ab')
-rw-r--r--lang/perl5/patches/patch-ab41
1 files changed, 41 insertions, 0 deletions
diff --git a/lang/perl5/patches/patch-ab b/lang/perl5/patches/patch-ab
new file mode 100644
index 00000000000..4bcece22a03
--- /dev/null
+++ b/lang/perl5/patches/patch-ab
@@ -0,0 +1,41 @@
+$NetBSD: patch-ab,v 1.8 2001/09/05 17:13:41 jlam Exp $
+
+--- hints/netbsd.sh.orig Thu Feb 22 18:57:55 2001
++++ hints/netbsd.sh Sat Sep 1 03:57:59 2001
+@@ -21,7 +21,11 @@
+ if [ -f /usr/libexec/ld.elf_so ]; then
+ d_dlopen=$define
+ d_dlerror=$define
+- ccdlflags="-Wl,-E -Wl,-R${PREFIX}/lib $ccdlflags"
++ # Include the whole libgcc.a, required for Xerces-P, which
++ # needs __eh_alloc, __pure_virtual, and others.
++ # XXX This should be obsoleted by gcc-3.0.
++ ccdlflags="-Wl,-whole-archive -lgcc -Wl,-no-whole-archive \
++ -Wl,-E -Wl,-R${PREFIX}/lib $ccdlflags"
+ cccdlflags="-DPIC -fPIC $cccdlflags"
+ lddlflags="--whole-archive -shared $lddlflags"
+ elif [ "`uname -m`" = "pmax" ]; then
+@@ -59,14 +63,18 @@
+ d_setruid="$undef"
+
+ # there's no problem with vfork.
+-case "$usevfork" in
+-'') usevfork=true ;;
+-esac
++usevfork=true
++
++# Using perl's malloc leads to trouble on some toolchain versions.
++usemymalloc="$undef"
+
+ # Pre-empt the /usr/bin/perl question of installperl.
+-installusrbinperl='n'
++installusrbinperl="$undef"
++
++# Don't install any manpages in man3; make user use perldoc
++# (to prevent confusion with similarly named man2/man3 pages).
++man3dir=none
+
+ # Recognize the NetBSD packages collection.
+-# GDBM might be here.
+ test -d /usr/pkg/lib && loclibpth="$loclibpth /usr/pkg/lib"
+ test -d /usr/pkg/include && locincpth="$locincpth /usr/pkg/include"