From 137c0739787e2293bc9e748407e675869865f23a Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 8 Aug 2011 14:32:41 +0000 Subject: - Fix perl configure erroneously saving /usr/local/script as a site script install directory if it's present, which leads to misinstallation of many ports which install perl scripts (p5-Mail-SpamAssassin, for example) PR: 149771 Submitted by: Peter Radcliffe Patch by: myself Approved by: jadawin --- lang/perl5.10/files/patch-Configure | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'lang/perl5.10/files/patch-Configure') diff --git a/lang/perl5.10/files/patch-Configure b/lang/perl5.10/files/patch-Configure index 0abb559cbc33..21ccd2c8c62e 100644 --- a/lang/perl5.10/files/patch-Configure +++ b/lang/perl5.10/files/patch-Configure @@ -1,6 +1,6 @@ --- Configure.orig 2010-07-14 15:28:45.000000000 +0000 +++ Configure 2010-07-14 15:29:23.000000000 +0000 -@@ -4780,7 +4780,7 @@ +@@ -4798,7 +4798,7 @@ libpth='' for xxx in $dlist do @@ -9,3 +9,13 @@ 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~+ -- cgit v1.2.3