summaryrefslogtreecommitdiff
path: root/lang/perl5.40/files/patch-Configure
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2024-05-25 15:44:57 +0200
committerMathieu Arnold <mat@FreeBSD.org>2024-05-25 15:44:57 +0200
commit0665212028e4ecabe6d8e0716498b1360bee60c2 (patch)
treea77b9365777ab69385963e965377feb9b56d4524 /lang/perl5.40/files/patch-Configure
parentlang/perl5-devel: update to 5.39.10 (diff)
lang/perl5.40: add Perl 5.40.0-RC1
Changes: https://metacpan.org/release/HAARG/perl-5.40.0-RC1/view/pod/perldelta.pod
Diffstat (limited to 'lang/perl5.40/files/patch-Configure')
-rw-r--r--lang/perl5.40/files/patch-Configure37
1 files changed, 37 insertions, 0 deletions
diff --git a/lang/perl5.40/files/patch-Configure b/lang/perl5.40/files/patch-Configure
new file mode 100644
index 000000000000..049b48874bea
--- /dev/null
+++ b/lang/perl5.40/files/patch-Configure
@@ -0,0 +1,37 @@
+- Allow setting cf_time (reproducible builds)
+- ?
+- ?
+
+--- Configure.orig 2024-04-26 09:23:35 UTC
++++ Configure
+@@ -3916,7 +3916,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`
+@@ -5044,7 +5047,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";;
+@@ -9595,8 +9598,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~+