[21630] trunk/dports/gnome/libgda/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Jan 31 01:39:25 PST 2007


Revision: 21630
          http://trac.macosforge.org/projects/macports/changeset/21630
Author:   landonf at macports.org
Date:     2007-01-31 01:39:25 -0800 (Wed, 31 Jan 2007)

Log Message:
-----------
Move this port back to the latest stable release of libgda, which is actually required for libgdamm and glom.

Modified Paths:
--------------
    trunk/dports/gnome/libgda/Portfile

Modified: trunk/dports/gnome/libgda/Portfile
===================================================================
--- trunk/dports/gnome/libgda/Portfile	2007-01-31 09:12:27 UTC (rev 21629)
+++ trunk/dports/gnome/libgda/Portfile	2007-01-31 09:39:25 UTC (rev 21630)
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 name		libgda
-version		2.99.3
+version		1.2.4
 description	GDA provides uniform access to diffent kinds of data sources.
 long_description	GNU Data Access (GDA) is an attempt to provide \
 			uniform access to different kinds of data sources \
@@ -11,8 +11,8 @@
 categories	gnome 
 platforms	darwin 
 homepage	http://www.gnome-db.org/
-master_sites    gnome:sources/libgda/2.99/
-checksums	md5 8d1e5186588c237e76c34065abdd042c
+master_sites    gnome:sources/libgda/1.2/
+checksums	md5 512a8ed842ce98eb432e69bd6867f437
 use_bzip2	yes
 
 depends_lib	\
@@ -21,12 +21,18 @@
 
 depends_build	port:gnome-doc-utils
 
-configure.env   CPPFLAGS="-I${prefix}/include -I${prefix}/include/db4" \
-                LDFLAGS="-Wl,-undefined -Wl,dynamic_lookup -L${prefix}/lib" MACOSX_DEPLOYMENT_TARGET="10.3"
+# Wow this is ugly. The database ports should probably support
+# ${prefix}/database instead of this weird include/database lib/database
+# magic.
+set mysqldir "${workpath}/mysql"
+set pgdir "${workpath}/pgsql"
 
+configure.env   CPPFLAGS="-I${prefix}/include -I${prefix}/include/db4 -I${pgdir}/include" \
+                LDFLAGS="-Wl,-undefined -Wl,dynamic_lookup -L${prefix}/lib -L${pgdir}/lib" MACOSX_DEPLOYMENT_TARGET="10.3"
+
 configure.args  --mandir=${prefix}/share/man
 
-default_variants +mysql5 +db4 +postgresql8
+default_variants +mysql5 +db4 +postgresql8 +sqlite
 
 post-configure {
 	cd ${worksrcpath}
@@ -50,6 +56,7 @@
 		providers/sqlite/Makefile \
 		providers/xbase/Makefile \
 		providers/sybase/Makefile \
+		providers/xml/Makefile \
 		report/Makefile \
 		report/libgda-report/Makefile \
 		report/testing/Makefile \
@@ -57,11 +64,6 @@
 		tools/Makefile
 }
 
-# Wow this is ugly. The database ports should probably support
-# ${prefix}/database instead of this weird include/database lib/database
-# magic.
-set mysqldir "${workpath}/mysql"
-set pgdir "${workpath}/pgsql"
 post-patch {
 	if {[variant_isset "mysql5"]} {
 		file mkdir ${mysqldir}
@@ -90,3 +92,8 @@
 	depends_lib-append	port:db4
 	configure.args-append	--with-bdb=${prefix}
 }
+
+variant sqlite {
+	depends_lib-append	port:sqlite3
+	configure.args-append	--with-sqlite=${prefix}
+}

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


More information about the macports-changes mailing list