summaryrefslogtreecommitdiff
path: root/lang/perl5.28/files/patch-Configure
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-05-21 13:50:39 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-05-21 13:50:39 +0000
commitfad77cc104ba9a4e319f80a72c793277cbb326fd (patch)
treebcba57110e6f62a1593e042c3d4b1a68329aa5c7 /lang/perl5.28/files/patch-Configure
parentUpdate to the 20180520 snapshot of GCC 9. (diff)
Add Perl 5.28.0-RC1.
Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=470540
Diffstat (limited to 'lang/perl5.28/files/patch-Configure')
-rw-r--r--lang/perl5.28/files/patch-Configure33
1 files changed, 33 insertions, 0 deletions
diff --git a/lang/perl5.28/files/patch-Configure b/lang/perl5.28/files/patch-Configure
new file mode 100644
index 000000000000..04c01936ad27
--- /dev/null
+++ b/lang/perl5.28/files/patch-Configure
@@ -0,0 +1,33 @@
+--- Configure.orig 2018-04-21 18:42:15 UTC
++++ Configure
+@@ -3865,7 +3865,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`
+@@ -5046,7 +5049,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";;
+@@ -9586,8 +9589,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~+