[146575] trunk/dports/databases/mysqltcl/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Mar 12 05:26:01 PST 2016


Revision: 146575
          https://trac.macports.org/changeset/146575
Author:   ryandesign at macports.org
Date:     2016-03-12 05:26:01 -0800 (Sat, 12 Mar 2016)
Log Message:
-----------
mysqltcl: fix syntax errors in mysql4 variant

Modified Paths:
--------------
    trunk/dports/databases/mysqltcl/Portfile

Modified: trunk/dports/databases/mysqltcl/Portfile
===================================================================
--- trunk/dports/databases/mysqltcl/Portfile	2016-03-12 13:22:01 UTC (rev 146574)
+++ trunk/dports/databases/mysqltcl/Portfile	2016-03-12 13:26:01 UTC (rev 146575)
@@ -26,10 +26,10 @@
 		--mandir=${prefix}/share/man
 
 variant mysql4 description Install against mysql4 instead of mysql5 {
-	depends_lib-delete path:bin/mysql_config5:mysql5
-	depends_lib-append port:mysql4
-	configure.args_delete --with-mysql-include=${prefix}/include/mysql5/mysql
-	configure.args_delete --with-mysql-lib=${prefix}/lib/mysql5/mysql
-	configure.args_append --with-mysql-include=${prefix}/include/mysql
-	configure.args_append --with-mysql-lib=${prefix}/lib/mysql
+    depends_lib-replace     path:bin/mysql_config5:mysql5 \
+                            port:mysql4
+    configure.args-replace  --with-mysql-include=${prefix}/include/mysql5/mysql \
+                            --with-mysql-include=${prefix}/include/mysql
+    configure.args-replace  --with-mysql-lib=${prefix}/lib/mysql5/mysql \
+                            --with-mysql-lib=${prefix}/lib/mysql
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160312/aa2842ad/attachment.html>


More information about the macports-changes mailing list