diff options
author | afresh1 <afresh1@cvs.openbsd.org> | 2014-03-26 16:36:33 +0000 |
---|---|---|
committer | afresh1 <afresh1@cvs.openbsd.org> | 2014-03-26 16:36:33 +0000 |
commit | dbdcd150008c052dc228ac854d3dc0988add755a (patch) | |
tree | 364741f37a01ffd79f9ca3293bb5fd314909f177 /gnu/usr.bin/perl | |
parent | b4015f6298a67e5fbcd4d19612ffc0fe2b88ee5d (diff) |
Make perl build in a non-writable src tree
OK millert@ deraadt@
Diffstat (limited to 'gnu/usr.bin/perl')
-rw-r--r-- | gnu/usr.bin/perl/Configure | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/usr.bin/perl/Configure b/gnu/usr.bin/perl/Configure index aad8d5342a7..a61098d1505 100644 --- a/gnu/usr.bin/perl/Configure +++ b/gnu/usr.bin/perl/Configure @@ -22400,8 +22400,8 @@ find_extensions=' fi; fi; else - echo " $known_extensions $nonxs_extensions" > $$.tmp; - if $contains " $this_ext " $$.tmp; then + echo " $known_extensions $nonxs_extensions" > $tdir/$$.tmp; + if $contains " $this_ext " $tdir/$$.tmp; then echo >&4; echo "Duplicate directories detected for extension $xxx" >&4; echo "Configure cannot correctly recover from this - shall I abort?" >&4; @@ -22419,15 +22419,15 @@ find_extensions=' esac; echo "Ok. You will need to correct config.sh before running make." >&4; fi; - $ls -1 $xxx > $$.tmp; - if $contains "\.xs$" $$.tmp > /dev/null 2>&1; then + $ls -1 $xxx > $tdir/$$.tmp; + if $contains "\.xs$" $tdir/$$.tmp > /dev/null 2>&1; then known_extensions="$known_extensions $this_ext"; - elif $contains "\.c$" $$.tmp > /dev/null 2>&1; then + elif $contains "\.c$" $tdir/$$.tmp > /dev/null 2>&1; then known_extensions="$known_extensions $this_ext"; elif $test -d $xxx; then nonxs_extensions="$nonxs_extensions $this_ext"; fi; - $rm -f $$.tmp; + $rm -f $tdir/$$.tmp; fi ;; esac; |