summaryrefslogtreecommitdiff
path: root/lang/p5-ePerl/files/patch-configure
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-21 10:29:47 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-21 10:29:47 +0000
commitc3ca2684da7b74cb31afc21c1780115b50ff2deb (patch)
treeefc7ac59eda5c3672687c4f503ef38dd49f4bd98 /lang/p5-ePerl/files/patch-configure
parentFor fixes for 5.0 because the ixj driver does not compile on 5.0 systems (diff)
Make lang/p5-ePerl compiling again.
Seen on: bento
Notes
Notes: svn path=/head/; revision=70657
Diffstat (limited to 'lang/p5-ePerl/files/patch-configure')
-rw-r--r--lang/p5-ePerl/files/patch-configure62
1 files changed, 62 insertions, 0 deletions
diff --git a/lang/p5-ePerl/files/patch-configure b/lang/p5-ePerl/files/patch-configure
new file mode 100644
index 000000000000..53f118cd45b9
--- /dev/null
+++ b/lang/p5-ePerl/files/patch-configure
@@ -0,0 +1,62 @@
+--- configure.orig Sun Aug 2 23:48:40 1998
++++ configure Thu Nov 21 21:20:23 2002
+@@ -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 -e 'print $]'`
+
+ else
+ TMPFILE=/tmp/x.$$
+@@ -901,7 +901,6 @@
+ GCC=yes
+ ac_test_CFLAGS="${CFLAGS+set}"
+ ac_save_CFLAGS="$CFLAGS"
+- CFLAGS=
+ echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
+ echo "configure:907: checking whether ${CC-cc} accepts -g" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
+@@ -918,16 +917,17 @@
+ fi
+
+ echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
++ if false; then
+ if test "$ac_test_CFLAGS" = set; then
+ CFLAGS="$ac_save_CFLAGS"
+ elif test $ac_cv_prog_cc_g = yes; then
+- CFLAGS="-g -O2"
++ CFLAGS="$CFLAGS -g -O2"
+ else
+- CFLAGS="-O2"
++ CFLAGS="$CFLAGS -O2"
+ fi
++ fi
+ else
+ GCC=
+- test "${CFLAGS+set}" = set || CFLAGS="-g"
+ fi
+
+ # Extract the first word of "ranlib", so it can be a program name with args.
+@@ -1025,11 +1025,8 @@
+ if test "${enable_debug+set}" = set; then
+ enableval="$enable_debug"
+ if test ".$ac_cv_prog_gcc" = ".yes"; then
+- CFLAGS="-Wall -g -ggdb3"
++ CFLAGS="$CFLAGS -Wall -g -ggdb3"
+ LDFLAGS="-g -ggdb3"
+-else
+- CFLAGS="-g"
+- LDFLAGS="-g"
+ fi
+ x="enabled"
+ debug=on
+@@ -1039,8 +1036,6 @@
+
+
+ else
+- CFLAGS=""
+-LDFLAGS=""
+ x=disabled
+ debug=off
+