summaryrefslogtreecommitdiff
path: root/lang/perl5/patches/patch-ca
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-12-29 17:54:45 +0000
committerjlam <jlam@pkgsrc.org>2005-12-29 17:54:45 +0000
commite2b6adf3abd97ab72951ecd4242dc09135bb1abc (patch)
tree10f0d284f5ff67adf275a286679dc0674a0b2f67 /lang/perl5/patches/patch-ca
parenteb64f6adfd2b4b0d747155d32f3c6540a520d784 (diff)
downloadpkgsrc-e2b6adf3abd97ab72951ecd4242dc09135bb1abc.tar.gz
Perl has no dependencies, so force patch the Configure script to make
library searches to start in the system directories instead of in the pkgsrc-controlled directories. This change is in the same spirit as the one that caused the PKGREVISION bump to 6, but is more likely to work on IRIX where plibpth needs to be set from the Configure script. This time, we patch the Configure script instead of setting libpth in the hints file because we depend on the values of variables which are defined after the hints file is sourced by the Configure script. XXX This breaks building perl on a platform that has native pthreads XXX with PREFER_NATIVE_PTHREADS=no, but that's not really worthwhile XXX to fix.
Diffstat (limited to 'lang/perl5/patches/patch-ca')
-rw-r--r--lang/perl5/patches/patch-ca11
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/perl5/patches/patch-ca b/lang/perl5/patches/patch-ca
index 283cdf17807..b5c453ea017 100644
--- a/lang/perl5/patches/patch-ca
+++ b/lang/perl5/patches/patch-ca
@@ -1,4 +1,4 @@
-$NetBSD: patch-ca,v 1.3 2005/08/06 06:18:45 jlam Exp $
+$NetBSD: patch-ca,v 1.4 2005/12/29 17:54:45 jlam Exp $
--- Configure.orig 2005-04-20 12:34:37.000000000 -0400
+++ Configure
@@ -37,6 +37,15 @@ $NetBSD: patch-ca,v 1.3 2005/08/06 06:18:45 jlam Exp $
os2) osname=os2
osvers="$4"
;;
+@@ -4426,7 +4428,7 @@ case "$plibpth" in
+ esac
+ case "$libpth" in
+ ' ') dlist='';;
+-'') dlist="$loclibpth $plibpth $glibpth";;
++'') dlist="$plibpth $glibpth $loclibpth";;
+ *) dlist="$libpth";;
+ esac
+
@@ -7856,7 +7858,7 @@ if "$useshrplib"; then
solaris)
xxx="-R $shrpdir"