diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2010-02-06 05:44:20 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2010-02-06 05:44:20 +0000 |
commit | 43ad6fabba26249e9e449df9a538959e75d2ebfa (patch) | |
tree | 916e5a092256ebb6ea19858a63176cb86d6c9164 /lang | |
parent | 31554d138ab1d9cbaf8862a0c56ecb043313d922 (diff) | |
download | ports-43ad6fabba26249e9e449df9a538959e75d2ebfa.tar.gz ports-43ad6fabba26249e9e449df9a538959e75d2ebfa.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/eperl/Makefile | 8 | ||||
-rw-r--r-- | lang/eperl/files/extra-patch-configure | 13 | ||||
-rw-r--r-- | lang/eperl/files/patch-configure | 26 |
3 files changed, 19 insertions, 28 deletions
diff --git a/lang/eperl/Makefile b/lang/eperl/Makefile index df7f471be67a..2ccf256a2037 100644 --- a/lang/eperl/Makefile +++ b/lang/eperl/Makefile @@ -36,14 +36,6 @@ MAN1= eperl.1 .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} >= 501000 -BROKEN= does not build -.endif - -.if ${PERL_LEVEL} >= 500809 -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-configure -.endif - # Remove the strndup function from eperl, since # certain versions of FreeBSD include it .if ${OSVERSION} >= 701101 diff --git a/lang/eperl/files/extra-patch-configure b/lang/eperl/files/extra-patch-configure deleted file mode 100644 index 6a08828a10a4..000000000000 --- a/lang/eperl/files/extra-patch-configure +++ /dev/null @@ -1,13 +0,0 @@ ---- configure.orig 2009-01-29 13:51:15.000000000 -0500 -+++ configure 2009-01-29 13:51:35.000000000 -0500 -@@ -710,7 +710,9 @@ - #define HAVE_PERL_DYNALOADER 1 - EOF - -- perl_dla=$perl_archlib/auto/DynaLoader/DynaLoader.a -+ # In Perl 5.8.9, DynaLoader functions are moved to libperl.so, -+ # so we don't need an extra library linked here. -+ perl_dla= - ;; - * ) - rc=no diff --git a/lang/eperl/files/patch-configure b/lang/eperl/files/patch-configure index d814543df237..508d5b20b9a4 100644 --- a/lang/eperl/files/patch-configure +++ b/lang/eperl/files/patch-configure @@ -1,15 +1,16 @@ ---- configure -+++ configure -@@ -571,7 +571,7 @@ +--- configure.orig 1998-08-02 22:48:40.000000000 +0900 ++++ configure 2010-02-06 14:30:44.165551147 +0900 +@@ -571,7 +571,8 @@ 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.*//'` ++perlvers=`echo ${perlvers} | sed -e 's/ (\*)//'` else TMPFILE=/tmp/x.$$ -@@ -600,7 +600,7 @@ +@@ -600,7 +601,7 @@ PATH_PERL=$perlprog echo "$ac_t""$perlprog v$perlvers" 1>&6 case $perlvers in @@ -18,7 +19,7 @@ ;; * ) echo "" echo "Latest Perl found on your system is $perlvers," -@@ -617,6 +617,8 @@ +@@ -617,6 +618,8 @@ perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/_//'` ;; 5.00[3-6] ) perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/$/00/'` ;; @@ -27,7 +28,18 @@ * ) perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/_//'` ;; esac -@@ -1030,7 +1032,7 @@ +@@ -708,7 +711,9 @@ + #define HAVE_PERL_DYNALOADER 1 + EOF + +- perl_dla=$perl_archlib/auto/DynaLoader/DynaLoader.a ++ # In Perl 5.8.9, DynaLoader functions are moved to libperl.so, ++ # so we don't need an extra library linked here. ++ perl_dla= + ;; + * ) + rc=no +@@ -1028,7 +1033,7 @@ CFLAGS="-Wall -g -ggdb3" LDFLAGS="-g -ggdb3" else @@ -36,7 +48,7 @@ LDFLAGS="-g" fi x="enabled" -@@ -1041,7 +1043,7 @@ +@@ -1039,7 +1044,7 @@ else |