[25059] trunk/dports/databases/libgda3/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat May 12 18:03:05 PDT 2007


Revision: 25059
          http://trac.macosforge.org/projects/macports/changeset/25059
Author:   rhwood at macports.org
Date:     2007-05-12 18:03:03 -0700 (Sat, 12 May 2007)

Log Message:
-----------
with_mysql5 variant now works. other *mysql* variants remain untested
with_postgresql82 variant is still not working, and other *postgres* variants remain untested.

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

Modified: trunk/dports/databases/libgda3/Portfile
===================================================================
--- trunk/dports/databases/libgda3/Portfile	2007-05-13 00:26:07 UTC (rev 25058)
+++ trunk/dports/databases/libgda3/Portfile	2007-05-13 01:03:03 UTC (rev 25059)
@@ -59,14 +59,17 @@
 
 variant with_mysql5 conflicts with_mysql3 with_mysql4 {
 	depends_lib-append	port:mysql5
-	configure.args-append	--with-mysql=${prefix}
+	configure.env-append	\
+		MYSQL_CONFIG=${prefix}/lib/mysql5/bin/mysql_config
+	configure.args-append	--with-mysql=${prefix}/lib/mysql5
 }
 
 variant with_postgresql82 {
-    configure.cppflags-append   "-I${prefix}/include/postgresql82"
-    configure.ldflags-append	"-L${prefix}/lib/postgresql82"
+	configure.cppflags-append	"-I${prefix}/include/postgresql82"
+	configure.ldflags-append	"-L${prefix}/lib/postgresql82"
 	depends_lib-append	port:postgresql82
-	configure.args-append	--with-postgres=${prefix}
+	configure.args-append	--with-postgres
+#	configure.args-append	--with-postgres=${prefix}/lib/postgresql82
 }
 
 variant with_bdb4 conflicts without_bdb with_bdb44 {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070512/45a70557/attachment.html


More information about the macports-changes mailing list