aboutsummaryrefslogtreecommitdiff
path: root/lang/perl5.18/files/patch-Configure
blob: 21ccd2c8c62ec77a68f53da767bd8bfaee00b1a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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~+