mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
61e6a25703
No (non-automated) response from: maintainer
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
--- configure.orig Sun Aug 2 06:48:40 1998
|
|
+++ configure Fri Sep 8 00:13:50 2000
|
|
@@ -571,7 +571,7 @@
|
|
if test "${with_perl+set}" = set; then
|
|
withval="$with_perl"
|
|
perlprog=$with_perl
|
|
-perlvers=`$perlprog -v | grep version | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'`
|
|
+perlvers=`$perlprog -v | grep "This is perl" | sed -e 's/^.* version //' -e 's/^.* v//' -e 's/ built.*//' -e 's/ with.*//'`
|
|
|
|
else
|
|
TMPFILE=/tmp/x.$$
|
|
@@ -600,7 +600,7 @@
|
|
PATH_PERL=$perlprog
|
|
echo "$ac_t""$perlprog v$perlvers" 1>&6
|
|
case $perlvers in
|
|
- 5.003* | 5.004* | 5.005* | 5.006* )
|
|
+ 5.003* | 5.004* | 5.005* | 5.006* | 5.6.*)
|
|
;;
|
|
* ) echo ""
|
|
echo "Latest Perl found on your system is $perlvers,"
|
|
@@ -617,6 +617,8 @@
|
|
perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/_//'` ;;
|
|
5.00[3-6] )
|
|
perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/$/00/'` ;;
|
|
+ 5.6.* )
|
|
+ perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/\./0/' -e 's/$/00/'` ;;
|
|
* )
|
|
perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/_//'` ;;
|
|
esac
|