summaryrefslogtreecommitdiff
path: root/lang/perl58/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-05-27 04:53:10 +0000
committerjlam <jlam@pkgsrc.org>2003-05-27 04:53:10 +0000
commit0f349707b29e7e058064c39f4a570ef0d146bcdb (patch)
tree6e698c9565cc21606b1ca7202f8ee9cc56e7d16b /lang/perl58/patches
parentdc7d08cc695e09641de12179f48cbc71f749fef5 (diff)
downloadpkgsrc-0f349707b29e7e058064c39f4a570ef0d146bcdb.tar.gz
Don't add /usr/local/lib to the run-time library search path inadvertantly.
Diffstat (limited to 'lang/perl58/patches')
-rw-r--r--lang/perl58/patches/patch-ab25
1 files changed, 25 insertions, 0 deletions
diff --git a/lang/perl58/patches/patch-ab b/lang/perl58/patches/patch-ab
new file mode 100644
index 00000000000..c7639a2da05
--- /dev/null
+++ b/lang/perl58/patches/patch-ab
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.1 2003/05/27 04:53:10 jlam Exp $
+
+--- hints/netbsd.sh.orig Sat Jun 1 13:03:12 2002
++++ hints/netbsd.sh
+@@ -127,20 +127,3 @@
+ ;;
+ esac
+ EOCBU
+-
+-# Set sensible defaults for NetBSD: look for local software in
+-# /usr/pkg (NetBSD Packages Collection) and in /usr/local.
+-#
+-loclibpth="/usr/pkg/lib /usr/local/lib"
+-locincpth="/usr/pkg/include /usr/local/include"
+-case "$rpathflag" in
+-'')
+- ldflags=
+- ;;
+-*)
+- ldflags=
+- for yyy in $loclibpth; do
+- ldflags="$ldflags $rpathflag$yyy"
+- done
+- ;;
+-esac