From d7534a0d39edbc9cfdfb01b1051d962b0ec4fc80 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Thu, 16 Apr 2015 11:44:21 +0000 Subject: Add lang/perl5-devel, which will be the one from which the lang/perl5.xx ports will come from, from now on. Please, only use the -devel port for testing, not for production purposes. Sponsored by: Absolight --- lang/perl5-devel/files/patch-Configure | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lang/perl5-devel/files/patch-Configure (limited to 'lang/perl5-devel/files/patch-Configure') diff --git a/lang/perl5-devel/files/patch-Configure b/lang/perl5-devel/files/patch-Configure new file mode 100644 index 000000000000..90a61877092d --- /dev/null +++ b/lang/perl5-devel/files/patch-Configure @@ -0,0 +1,33 @@ +--- Configure.orig 2015-04-15 07:47:18 UTC ++++ Configure +@@ -3833,7 +3833,10 @@ esac + . ./posthint.sh + + : who configured the system +-cf_time=`LC_ALL=C; LANGUAGE=C; export LC_ALL; export LANGUAGE; $date 2>&1` ++case "$cf_time" in ++"") ++ cf_time=`LC_ALL=C; LANGUAGE=C; export LC_ALL; export LANGUAGE; $date 2>&1` ;; ++esac + case "$cf_by" in + "") + cf_by=`(logname) 2>/dev/null` +@@ -5014,7 +5017,7 @@ esac + : Now check and see which directories actually exist, avoiding duplicates + 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";; +@@ -9515,8 +9518,7 @@ prefixvar=siteman3dir + + : 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