[99855] branches/pixilla-mysqls-55/dports/databases/libgda3/Portfile

pixilla at macports.org pixilla at macports.org
Mon Nov 19 05:55:18 PST 2012


Revision: 99855
          https://trac.macports.org/changeset/99855
Author:   pixilla at macports.org
Date:     2012-11-19 05:55:18 -0800 (Mon, 19 Nov 2012)
Log Message:
-----------
databases/libgda3:
- Replace mysql{4,5} variants with mysql55 variant.

Modified Paths:
--------------
    branches/pixilla-mysqls-55/dports/databases/libgda3/Portfile

Modified: branches/pixilla-mysqls-55/dports/databases/libgda3/Portfile
===================================================================
--- branches/pixilla-mysqls-55/dports/databases/libgda3/Portfile	2012-11-19 13:33:20 UTC (rev 99854)
+++ branches/pixilla-mysqls-55/dports/databases/libgda3/Portfile	2012-11-19 13:55:18 UTC (rev 99855)
@@ -56,19 +56,21 @@
 
 default_variants +with_bdb46
 
-variant with_mysql4 conflicts with_mysql5 \
-    description {support for MySQL 4.x} {
-	depends_lib-append	port:mysql4
-	configure.args-append	--with-mysql=${prefix}
+if [variant_isset with_mysql4] {
+    default_variants +mysql55
 }
 
-variant with_mysql5 conflicts with_mysql4 \
-    description {support for current MySQL 5.x} {
-	depends_lib-append	path:bin/mysql_config5:mysql5
+if [variant_isset with_mysql5] {
+    default_variants +mysql55
+}
+
+variant mysql55 \
+    description {support for current MySQL 5.5} {
+	depends_lib-append	port:mysql55
 	configure.env-append	\
-		MYSQL_CONFIG=${prefix}/lib/mysql5/bin/mysql_config
-	configure.args-append	--with-mysql=${prefix}/lib/mysql5
-	configure.cppflags-append	"-I${prefix}/include/mysql5/mysql"
+		MYSQL_CONFIG=${prefix}/lib/mysql55/bin/mysql_config
+	configure.args-append	--with-mysql=${prefix}/lib/mysql55
+	configure.cppflags-append	"-I${prefix}/include/mysql55/mysql"
 }
 
 variant with_postgresql82 conflicts with_postgresql83 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121119/5fb3dc93/attachment.html>


More information about the macports-changes mailing list