From 59476aaaf826a33232db4de74c9028552ad985e6 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Thu, 15 May 2014 08:08:23 +0000 Subject: Fix build of xmlrpc extension. --- net/php5-xmlrpc/files/patch-config.m4 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 net/php5-xmlrpc/files/patch-config.m4 (limited to 'net/php5-xmlrpc') diff --git a/net/php5-xmlrpc/files/patch-config.m4 b/net/php5-xmlrpc/files/patch-config.m4 new file mode 100644 index 000000000000..098855a191dd --- /dev/null +++ b/net/php5-xmlrpc/files/patch-config.m4 @@ -0,0 +1,23 @@ +--- config.m4.orig 2014-05-15 08:00:57.801291749 +0000 ++++ config.m4 2014-05-15 08:01:40.161014307 +0000 +@@ -61,11 +61,9 @@ + fi + fi + +- dnl if iconv is shared or missing then we should build iconv ourselves +- if test "$PHP_ICONV_SHARED" = "yes" || test "$PHP_ICONV" = "no"; then +- + if test "$PHP_ICONV_DIR" != "no"; then + PHP_ICONV=$PHP_ICONV_DIR ++ PHP_ADD_INCLUDE($PHP_ICONV_DIR/include) + fi + + if test -z "$PHP_ICONV" || test "$PHP_ICONV" = "no"; then +@@ -75,7 +73,6 @@ + PHP_SETUP_ICONV(XMLRPC_SHARED_LIBADD, [], [ + AC_MSG_ERROR([iconv not found, in order to build xmlrpc you need the iconv library]) + ]) +- fi + fi + + if test "$PHP_XMLRPC" = "yes"; then -- cgit v1.2.3