[21628] trunk/dports/gnome/libgda
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jan 31 01:09:59 PST 2007
Revision: 21628
http://trac.macosforge.org/projects/macports/changeset/21628
Author: landonf at macports.org
Date: 2007-01-31 01:09:58 -0800 (Wed, 31 Jan 2007)
Log Message:
-----------
Upgrade to the latest release required by Glom.
I had to beat my head against this until it mostly worked. I've been gone a couple years, but autoconf is still satan.
Modified Paths:
--------------
trunk/dports/gnome/libgda/Portfile
Removed Paths:
-------------
trunk/dports/gnome/libgda/files/
Modified: trunk/dports/gnome/libgda/Portfile
===================================================================
--- trunk/dports/gnome/libgda/Portfile 2007-01-31 08:04:13 UTC (rev 21627)
+++ trunk/dports/gnome/libgda/Portfile 2007-01-31 09:09:58 UTC (rev 21628)
@@ -2,7 +2,7 @@
PortSystem 1.0
name libgda
-version 1.3.91
+version 2.99.3
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/1.3/
-checksums md5 6e397127c9a3d8f229fb0c1a0c0572f2
+master_sites gnome:sources/libgda/2.99/
+checksums md5 8d1e5186588c237e76c34065abdd042c
use_bzip2 yes
depends_lib \
@@ -22,11 +22,11 @@
depends_build port:gnome-doc-utils
configure.env CPPFLAGS="-I${prefix}/include -I${prefix}/include/db4" \
- CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" \
- LDFLAGS="-L${prefix}/lib"
+ LDFLAGS="-Wl,-undefined -Wl,dynamic_lookup -L${prefix}/lib" MACOSX_DEPLOYMENT_TARGET="10.3"
+
configure.args --mandir=${prefix}/share/man
-default_variants +mysql5 +db4 +postgresql8 +sqlite
+default_variants +mysql5 +db4 +postgresql8
post-configure {
cd ${worksrcpath}
@@ -50,7 +50,6 @@
providers/sqlite/Makefile \
providers/xbase/Makefile \
providers/sybase/Makefile \
- providers/xml/Makefile \
report/Makefile \
report/libgda-report/Makefile \
report/testing/Makefile \
@@ -58,34 +57,36 @@
tools/Makefile
}
-variant mysql3 conflicts mysql4 mysql5 {
- depends_lib-append port:mysql
- configure.args-append --with-mysql=${prefix}
-}
+# 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}
+ file link [file join ${mysqldir} "include"] [file join ${prefix} "include" "mysql5"]
+ file link [file join ${mysqldir} "lib"] [file join ${prefix} "lib" "mysql5"]
+ }
-variant mysql4 conflicts mysql3 mysql5 {
- depends_lib-append port:mysql4
- configure.args-append --with-mysql=${prefix}
+ if {[variant_isset "postgresql8"]} {
+ file mkdir ${pgdir}
+ file link [file join ${pgdir} "include"] [file join ${prefix} "include" "pgsql8"]
+ file link [file join ${pgdir} "lib"] [file join ${prefix} "lib" "pgsql8"]
+ }
}
-variant mysql5 conflicts mysql3 mysql4 {
+variant mysql5 {
depends_lib-append port:mysql5
- configure.args-append --with-mysql=${prefix}
+ configure.args-append --with-mysql=${mysqldir}
}
variant postgresql8 {
- configure.env CPPFLAGS="-I${prefix}/include -I${prefix}/include/db4 -I${prefix}/include/pgsql8" \
- LDFLAGS="-L${prefix}/lib -L${prefix}/lib/pgsql8"
depends_lib-append port:postgresql8
- configure.args-append --with-postgres=${prefix}
+ configure.args-append --with-postgres=${pgdir}
}
variant db4 {
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/aa654385/attachment.html
More information about the macports-changes
mailing list