From db021968e3411b659e079e540742896abe4193f1 Mon Sep 17 00:00:00 2001 From: Torsten Zuehlsdorff Date: Tue, 24 Jan 2017 11:54:20 +0000 Subject: Add PHP 7.1 Thanks to: mat, pi, ale, martin@waschbuesch.de and franco@opnsense.org --- textproc/php71-wddx/files/patch-config.m4 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 textproc/php71-wddx/files/patch-config.m4 (limited to 'textproc/php71-wddx/files/patch-config.m4') diff --git a/textproc/php71-wddx/files/patch-config.m4 b/textproc/php71-wddx/files/patch-config.m4 new file mode 100644 index 000000000000..08787003b8f9 --- /dev/null +++ b/textproc/php71-wddx/files/patch-config.m4 @@ -0,0 +1,22 @@ +--- config.m4.orig Mon Jul 26 09:05:10 2004 ++++ config.m4 Mon Jul 26 09:07:46 2004 +@@ -5,6 +5,9 @@ + PHP_ARG_ENABLE(wddx,whether to enable WDDX support, + [ --enable-wddx Enable WDDX support.]) + ++PHP_ARG_WITH(libxml-dir, libxml2 install dir, ++[ --with-libxml-dir= WDDX: libxml2 install prefix], no, no) ++ + if test "$PHP_WDDX" != "no"; then + if test "$ext_shared" != "yes" && test "$enable_xml" = "no"; then + AC_MSG_WARN(Activating XML) +@@ -12,4 +15,9 @@ + fi + AC_DEFINE(HAVE_WDDX, 1, [ ]) + PHP_NEW_EXTENSION(wddx, wddx.c, $ext_shared) ++ ++ PHP_SETUP_LIBXML(WDDX_SHARED_LIBADD, [ ++ ], [ ++ AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.]) ++ ]) + fi -- cgit v1.2.3