[39022] trunk/dports/www/php5-devel/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Aug 6 00:57:47 PDT 2008


Revision: 39022
          http://trac.macosforge.org/projects/macports/changeset/39022
Author:   ryandesign at macports.org
Date:     2008-08-06 00:57:46 -0700 (Wed, 06 Aug 2008)
Log Message:
-----------
php5-devel: add mysqlnd variant to support the new MySQL Native Driver

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

Modified: trunk/dports/www/php5-devel/Portfile
===================================================================
--- trunk/dports/www/php5-devel/Portfile	2008-08-06 07:53:18 UTC (rev 39021)
+++ trunk/dports/www/php5-devel/Portfile	2008-08-06 07:57:46 UTC (rev 39022)
@@ -210,7 +210,7 @@
         --with-snmp=${prefix}
 }
 
-variant mysql3 conflicts mysql4 mysql5 description {build MySQL 3 support} {
+variant mysql3 conflicts mysql4 mysql5 mysqlnd description {build MySQL 3 support} {
     depends_lib-append \
         port:mysql3
     configure.args-delete \
@@ -220,7 +220,7 @@
         --with-pdo-mysql=${prefix}
 }
 
-variant mysql4 conflicts mysql3 mysql5 description {build MySQL 4 support} {
+variant mysql4 conflicts mysql3 mysql5 mysqlnd description {build MySQL 4 support} {
     depends_lib-append \
         port:mysql4
     configure.args-delete \
@@ -230,7 +230,7 @@
         --with-pdo-mysql=${prefix}
 }
 
-variant mysql5 conflicts mysql3 mysql4 description {build MySQL 5 support} {
+variant mysql5 conflicts mysql3 mysql4 mysqlnd description {build MySQL 5 support} {
     depends_lib-append \
         path:${prefix}/bin/mysql_config5:mysql5
     configure.args-delete \
@@ -247,6 +247,15 @@
     }
 }
 
+variant mysqlnd conflicts mysql3 mysql4 mysql5 description {build MySQL Native Driver support for MySQL 4.1 and up} {
+    configure.args-delete \
+        --without-mysql
+    configure.args-append \
+        --with-mysql=mysqlnd \
+        --with-mysqli=mysqlnd \
+        --with-pdo-mysql=mysqlnd
+}
+
 variant oracle description {Add Oracle oci8 database functions with the Oracle Instant Client} {
     depends_lib-append \
         port:oracle-instantclient
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080806/452688a9/attachment-0001.html 


More information about the macports-changes mailing list