Make this work with the perl in -current.

No (non-automated) response from: maintainer
This commit is contained in:
Jeremy Lea 2000-10-01 07:50:46 +00:00
parent e17474b0ad
commit 61e6a25703
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33277
2 changed files with 40 additions and 0 deletions

29
lang/eperl/files/patch-ab Normal file
View File

@ -0,0 +1,29 @@
--- 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

11
lang/eperl/files/patch-ac Normal file
View File

@ -0,0 +1,11 @@
--- eperl_perl5.c.orig Fri Sep 8 00:29:14 2000
+++ eperl_perl5.c Fri Sep 8 00:29:27 2000
@@ -33,6 +33,8 @@
** eperl_perl5.c -- ePerl Perl5 related stuff
*/
+#define PERL_POLLUTE
+
#include "eperl_config.h"
#include "eperl_global.h"
#include "eperl_perl5.h"