aboutsummaryrefslogtreecommitdiff
path: root/devel/php5-readline
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2009-09-22 10:36:31 +0000
committerAlex Dupre <ale@FreeBSD.org>2009-09-22 10:36:31 +0000
commitd8637e03c9ddbfb6eb72bd335bd41553145a717c (patch)
tree37121111581ff151225df3381a27e4e1f553d654 /devel/php5-readline
parent03f0ec01063cef78f623e8518e53797ea40f824a (diff)
downloadports-d8637e03c9ddbfb6eb72bd335bd41553145a717c.tar.gz
ports-d8637e03c9ddbfb6eb72bd335bd41553145a717c.zip
Notes
Diffstat (limited to 'devel/php5-readline')
-rw-r--r--devel/php5-readline/files/patch-config.m413
1 files changed, 8 insertions, 5 deletions
diff --git a/devel/php5-readline/files/patch-config.m4 b/devel/php5-readline/files/patch-config.m4
index 65789cc96424..b0b2bb521bc7 100644
--- a/devel/php5-readline/files/patch-config.m4
+++ b/devel/php5-readline/files/patch-config.m4
@@ -1,17 +1,20 @@
---- config.m4.orig 2009-05-14 15:43:52.000000000 +0200
-+++ config.m4 2009-06-26 08:10:39.000000000 +0200
-@@ -5,10 +5,8 @@
+--- config.m4.orig 2009-08-04 13:20:49.000000000 +0200
++++ config.m4 2009-09-22 11:13:12.000000000 +0200
+@@ -5,13 +5,8 @@
PHP_ARG_WITH(libedit,for libedit readline replacement,
[ --with-libedit[=DIR] Include libedit readline replacement (CLI/CGI only)])
-if test "$PHP_LIBEDIT" = "no"; then
PHP_ARG_WITH(readline,for readline support,
[ --with-readline[=DIR] Include readline support (CLI/CGI only)])
+-else
+- dnl "register" the --with-readline option to preven invalid "unknown configure option" warning
+- php_with_readline=no
-fi
if test "$PHP_READLINE" && test "$PHP_READLINE" != "no"; then
for i in $PHP_READLINE /usr/local /usr; do
-@@ -50,6 +48,13 @@
+@@ -60,6 +55,13 @@
-L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
])
@@ -25,7 +28,7 @@
AC_DEFINE(HAVE_LIBREADLINE, 1, [ ])
elif test "$PHP_LIBEDIT" != "no"; then
-@@ -87,7 +92,6 @@
+@@ -97,7 +99,6 @@
fi
if test "$PHP_READLINE" != "no" || test "$PHP_LIBEDIT" != "no"; then