freebsd-ports/lang/perl5.26/files/patch-Configure
Mathieu Arnold f9d0b19b04 Introduce Perl 5.26.
A few important changes:

 - '.' is no longer in @INC.
 - "do" now gives a deprecation warning when it fails to load a file
   which it would have loaded had "." been in @INC.
 - In regular expression patterns, a literal left brace "{" should be
   escaped.

Changes:	https://metacpan.org/pod/release/XSAWYERX/perl-5.26.0/pod/perldelta.pod
Sponsored by:	Absolight
2017-05-31 09:02:11 +00:00

33 lines
906 B
Text

--- Configure.orig 2017-05-22 10:22:21 UTC
+++ Configure
@@ -3879,7 +3879,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`
@@ -5060,7 +5063,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";;
@@ -9655,8 +9658,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~+