[56344] trunk/dports/php/php5-xmlrpc/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Aug 26 02:02:30 PDT 2009


Revision: 56344
          http://trac.macports.org/changeset/56344
Author:   ryandesign at macports.org
Date:     2009-08-26 02:02:29 -0700 (Wed, 26 Aug 2009)
Log Message:
-----------
php5-xmlrpc: add build dependencies on libxml2 and libiconv and help it find libxml2's headers

Modified Paths:
--------------
    trunk/dports/php/php5-xmlrpc/Portfile

Modified: trunk/dports/php/php5-xmlrpc/Portfile
===================================================================
--- trunk/dports/php/php5-xmlrpc/Portfile	2009-08-26 08:53:51 UTC (rev 56343)
+++ trunk/dports/php/php5-xmlrpc/Portfile	2009-08-26 09:02:29 UTC (rev 56344)
@@ -4,6 +4,7 @@
 PortGroup               php5extension 1.0
 
 php5extension.setup     xmlrpc 5.3.0 bundled
+revision                1
 categories-append       textproc
 platforms               darwin
 maintainers             ryandesign
@@ -16,8 +17,17 @@
                         sha1    934700941d216c453376e3bf24347041cf12c6dc \
                         rmd160  9a71b74052b0ca515f2ddf95c051b47a73d33f44
 
+depends_build-append    port:libiconv \
+                        port:libxml2
+
 depends_lib-append      port:expat
 
-configure.args-append   --with-libexpat-dir=${prefix}
+configure.args-append   --with-iconv-dir=${prefix} \
+                        --with-libexpat-dir=${prefix} \
+                        --with-libxml-dir=${prefix}
 
+pre-configure {
+    configure.cppflags-append [exec ${prefix}/bin/xml2-config --cflags]
+}
+
 use_parallel_build      yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090826/014fb977/attachment.html>


More information about the macports-changes mailing list