ports/lang/perl5-devel/files/patch-Configure
Mathieu Arnold 5ca09a9d3b Update to v5.23.2-208-g7ce1b4c.
Regen a few patches, one module moved from dist to cpan, and some offset
changed.

Changes:	https://github.com/Perl/perl5/compare/v5.23.2-66-gbdc4e4b...v5.23.2-208-g7ce1b4c
Sponsored by:	Absolight
2015-09-08 11:57:29 +00:00

33 lines
906 B
Text

--- Configure.orig 2015-09-08 05:21:36 UTC
+++ Configure
@@ -3849,7 +3849,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`
@@ -5030,7 +5033,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";;
@@ -9543,8 +9546,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~+