[41985] trunk/dports/www/php5-devel
ryandesign at macports.org
ryandesign at macports.org
Thu Nov 13 00:17:49 PST 2008
Revision: 41985
http://trac.macports.org/changeset/41985
Author: ryandesign at macports.org
Date: 2008-11-13 00:17:48 -0800 (Thu, 13 Nov 2008)
Log Message:
-----------
php5-devel: fix building when bind9 is installed; see #11283
Modified Paths:
--------------
trunk/dports/www/php5-devel/Portfile
Added Paths:
-----------
trunk/dports/www/php5-devel/files/patch-bind.diff
Modified: trunk/dports/www/php5-devel/Portfile
===================================================================
--- trunk/dports/www/php5-devel/Portfile 2008-11-13 08:05:13 UTC (rev 41984)
+++ trunk/dports/www/php5-devel/Portfile 2008-11-13 08:17:48 UTC (rev 41985)
@@ -31,7 +31,8 @@
rmd160 27ea92dae3490c495803fd55786c3dfd4535010b
depends_build \
- port:pkgconfig
+ port:pkgconfig \
+ port:autoconf213
depends_lib \
port:libtool \
@@ -53,6 +54,12 @@
port:libpng \
port:freetype
+patchfiles \
+ patch-bind.diff
+
+use_autoconf yes
+autoconf.cmd ${prefix}/bin/autoconf213
+
configure.args \
--mandir=${prefix}/share/man \
--infodir=${prefix}/share/info \
Added: trunk/dports/www/php5-devel/files/patch-bind.diff
===================================================================
--- trunk/dports/www/php5-devel/files/patch-bind.diff (rev 0)
+++ trunk/dports/www/php5-devel/files/patch-bind.diff 2008-11-13 08:17:48 UTC (rev 41985)
@@ -0,0 +1,15 @@
+--- ext/standard/config.m4.orig 2008-07-28 06:50:34.000000000 -0500
++++ ext/standard/config.m4 2008-11-13 02:00:01.000000000 -0600
+@@ -274,9 +274,9 @@
+ dnl Detect library functions needed by php dns_xxx functions
+ dnl ext/standard/dns.h will collect these in a single define: HAVE_DNS_FUNCS
+ dnl
+-PHP_CHECK_FUNC(res_nmkquery, resolv, bind, socket)
+-PHP_CHECK_FUNC(res_nsend, resolv, bind, socket)
+-PHP_CHECK_FUNC(dn_expand, resolv, bind, socket)
++PHP_CHECK_FUNC(res_nmkquery, resolv, socket)
++PHP_CHECK_FUNC(res_nsend, resolv, socket)
++PHP_CHECK_FUNC(dn_expand, resolv, socket)
+
+ dnl
+ dnl Check if atof() accepts NAN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081113/42215e9c/attachment.html>
More information about the macports-changes
mailing list