[62287] trunk/dports/php/php5-mysql/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jan 3 01:53:54 PST 2010


Revision: 62287
          http://trac.macports.org/changeset/62287
Author:   ryandesign at macports.org
Date:     2010-01-03 01:53:51 -0800 (Sun, 03 Jan 2010)
Log Message:
-----------
php5-mysql: use archcheck portgroup because mysql5 cannot build universal without the no_embedded_server variant

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

Modified: trunk/dports/php/php5-mysql/Portfile
===================================================================
--- trunk/dports/php/php5-mysql/Portfile	2010-01-03 09:40:51 UTC (rev 62286)
+++ trunk/dports/php/php5-mysql/Portfile	2010-01-03 09:53:51 UTC (rev 62287)
@@ -2,6 +2,7 @@
 
 PortSystem                      1.0
 PortGroup                       php5extension 1.0
+PortGroup                       archcheck 1.0
 
 php5extension.setup             {mysql mysqli pdo_mysql} 5.3.1 bundled
 revision                        2
@@ -41,12 +42,14 @@
 
 variant mysql4 conflicts mysql5 mysqlnd description {Use MySQL 4 libraries} {
     depends_lib-append          port:mysql4
+    archcheck.files-append      lib/mysql/libmysqlclient.dylib
     configure.args-append       --with-mysql=${prefix} \
                                 --with-pdo-mysql=${prefix}
 }
 
 variant mysql5 conflicts mysql4 mysqlnd description {Use MySQL 5 libraries} {
     depends_lib-append          path:bin/mysql_config5:mysql5
+    archcheck.files-append      lib/mysql5/mysql/libmysqlclient.dylib
     configure.args-append       --with-mysql=${workpath}/mysql5 \
                                 --with-mysqli=${prefix}/bin/mysql_config5 \
                                 --with-pdo-mysql=${prefix}/bin/mysql_config5 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100103/2c0ab700/attachment.html>


More information about the macports-changes mailing list