aboutsummaryrefslogtreecommitdiff
path: root/lang/perl5.18/files/patch-Configure
diff options
context:
space:
mode:
Diffstat (limited to 'lang/perl5.18/files/patch-Configure')
-rw-r--r--lang/perl5.18/files/patch-Configure21
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/perl5.18/files/patch-Configure b/lang/perl5.18/files/patch-Configure
new file mode 100644
index 000000000000..21ccd2c8c62e
--- /dev/null
+++ b/lang/perl5.18/files/patch-Configure
@@ -0,0 +1,21 @@
+--- Configure.orig 2010-07-14 15:28:45.000000000 +0000
++++ Configure 2010-07-14 15:29:23.000000000 +0000
+@@ -4798,7 +4798,7 @@
+ libpth=''
+ for xxx in $dlist
+ do
+- if $test -d $xxx; then
++ if $test -d $xxx || [ $xxx = $prefix/lib ]; then
+ case " $libpth " in
+ *" $xxx "*) ;;
+ *) libpth="$libpth $xxx";;
+@@ -9125,8 +9125,7 @@
+
+ : determine where add-on public executable scripts go
+ case "$sitescript" in
+-'') dflt=$siteprefix/script
+- $test -d $dflt || dflt=$sitebin ;;
++'') dflt=$sitebin ;;
+ *) dflt="$sitescript" ;;
+ esac
+ fn=d~+