aboutsummaryrefslogtreecommitdiff
path: root/lang/perl5.32/files/patch-Configure
diff options
context:
space:
mode:
Diffstat (limited to 'lang/perl5.32/files/patch-Configure')
-rw-r--r--lang/perl5.32/files/patch-Configure37
1 files changed, 37 insertions, 0 deletions
diff --git a/lang/perl5.32/files/patch-Configure b/lang/perl5.32/files/patch-Configure
new file mode 100644
index 000000000000..67a1f2b8baea
--- /dev/null
+++ b/lang/perl5.32/files/patch-Configure
@@ -0,0 +1,37 @@
+- Allow setting cf_time (reproducible builds)
+- ?
+- ?
+
+--- Configure.orig 2020-05-25 07:17:52 UTC
++++ Configure
+@@ -3876,7 +3876,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`
+@@ -5061,7 +5064,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";;
+@@ -9605,8 +9608,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~+