[41986] trunk/dports/www/php5

ryandesign at macports.org ryandesign at macports.org
Thu Nov 13 00:31:11 PST 2008


Revision: 41986
          http://trac.macports.org/changeset/41986
Author:   ryandesign at macports.org
Date:     2008-11-13 00:31:10 -0800 (Thu, 13 Nov 2008)
Log Message:
-----------
php5: merge r41985 from php5-devel: fix building when bind9 is installed; see #11283

Modified Paths:
--------------
    trunk/dports/www/php5/Portfile

Added Paths:
-----------
    trunk/dports/www/php5/files/patch-bind.diff

Property Changed:
----------------
    trunk/dports/www/php5/


Property changes on: trunk/dports/www/php5
___________________________________________________________________
Added: svn:mergeinfo
   + /trunk/dports/www/php5-devel:41985

Modified: trunk/dports/www/php5/Portfile
===================================================================
--- trunk/dports/www/php5/Portfile	2008-11-13 08:17:48 UTC (rev 41985)
+++ trunk/dports/www/php5/Portfile	2008-11-13 08:31:10 UTC (rev 41986)
@@ -37,7 +37,8 @@
     rmd160 27f730d4b1ceb1c42ff03618dbfa0dc87a00990b
 
 depends_build \
-    port:pkgconfig
+    port:pkgconfig \
+    port:autoconf213
 
 depends_lib \
     port:libtool \
@@ -59,6 +60,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 \

Copied: trunk/dports/www/php5/files/patch-bind.diff (from rev 41985, trunk/dports/www/php5-devel/files/patch-bind.diff)
===================================================================
--- trunk/dports/www/php5/files/patch-bind.diff	                        (rev 0)
+++ trunk/dports/www/php5/files/patch-bind.diff	2008-11-13 08:31:10 UTC (rev 41986)
@@ -0,0 +1,15 @@
+--- ext/standard/config.m4.orig	2007-07-11 06:56:03.000000000 -0500
++++ ext/standard/config.m4	2008-11-13 02:19:46.000000000 -0600
+@@ -311,9 +311,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/0ee58d65/attachment.html>


More information about the macports-changes mailing list