aboutsummaryrefslogtreecommitdiff
path: root/databases/libgda4
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2009-03-10 15:21:08 +0000
committerKoop Mast <kwm@FreeBSD.org>2009-03-10 15:21:08 +0000
commit2c302d928d549873c5dd85fbf1ae761c95dac1e7 (patch)
tree9e09044a670b2e43a6ae9f9271c5293512ad9e08 /databases/libgda4
parent5b755d8813e5f1ef012a79556f88135b9fc8006a (diff)
downloadports-2c302d928d549873c5dd85fbf1ae761c95dac1e7.tar.gz
ports-2c302d928d549873c5dd85fbf1ae761c95dac1e7.zip
Notes
Diffstat (limited to 'databases/libgda4')
-rw-r--r--databases/libgda4/Makefile10
-rw-r--r--databases/libgda4/distinfo6
-rw-r--r--databases/libgda4/files/patch-providers_bdb_Makefile.in17
3 files changed, 11 insertions, 22 deletions
diff --git a/databases/libgda4/Makefile b/databases/libgda4/Makefile
index 0a7ef22ff26e..fca8c6fbfd9e 100644
--- a/databases/libgda4/Makefile
+++ b/databases/libgda4/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= libgda4
-PORTVERSION?= 3.99.12
+PORTVERSION?= 3.99.13
PORTREVISION?= 0
CATEGORIES= databases gnome
MASTER_SITES= GNOME
@@ -107,6 +107,12 @@ CONFIGURE_ARGS+= --with-odbc=${LOCALBASE}
CONFIGURE_ARGS+= --without-odbc
.endif
+.if ${LIBGDA4_SLAVE}=="jdbc"
+USE_JAVA= yes
+.else
+CONFIGURE_ARGS+= --without-java
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|include/db.h|include/db${BDB_VER}/db.h|g' \
@@ -119,7 +125,7 @@ post-patch:
${WRKSRC}/providers/bdb/gda-bdb-test.c
.if ${LIBGDA4_SLAVE}!="no"
#. for d in msql firebird odbc freetds mdb ldap mysql sqlite postgres
-. for d in bdb mdb mysql sqlite postgres
+. for d in bdb jdbc mdb mysql sqlite postgres
@${REINPLACE_CMD} -e 's|$$(top_builddir)/libgda/libgda-4.0.la|${LOCALBASE}/lib/libgda-4.0.la|g' \
${WRKSRC}/providers/${d}/Makefile.in
. endfor
diff --git a/databases/libgda4/distinfo b/databases/libgda4/distinfo
index 3d74b000971d..61ba9ed20d85 100644
--- a/databases/libgda4/distinfo
+++ b/databases/libgda4/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnome2/libgda-3.99.12.tar.bz2) = a3c7df764149d4f9c1222338173af38c
-SHA256 (gnome2/libgda-3.99.12.tar.bz2) = 24ad6427d92727990ad727dfa8fa77990898e5d4ea49e82da91a5122c1f2ca9c
-SIZE (gnome2/libgda-3.99.12.tar.bz2) = 8365810
+MD5 (gnome2/libgda-3.99.13.tar.bz2) = 79253cf1552bd60bdbee0aa4106005a7
+SHA256 (gnome2/libgda-3.99.13.tar.bz2) = ebcd683bb8330fc029349b343ef1657ffbf6e7550ecb8577c7d6757fce5d096c
+SIZE (gnome2/libgda-3.99.13.tar.bz2) = 8364141
diff --git a/databases/libgda4/files/patch-providers_bdb_Makefile.in b/databases/libgda4/files/patch-providers_bdb_Makefile.in
deleted file mode 100644
index b000a0a768cc..000000000000
--- a/databases/libgda4/files/patch-providers_bdb_Makefile.in
+++ /dev/null
@@ -1,17 +0,0 @@
---- providers/bdb/Makefile.in.orig 2009-02-28 15:46:42.000000000 -0500
-+++ providers/bdb/Makefile.in 2009-02-28 15:46:59.000000000 -0500
-@@ -407,11 +407,13 @@ libgda_bdb_la_SOURCES = \
- libgda_bdb_la_LDFLAGS = -export-dynamic -module -avoid-version $(NO_UNDEFINED) $(LIBTOOL_PROV_EXPORT_OPTIONS)
- libgda_bdb_la_LIBADD = \
- $(top_builddir)/libgda/libgda-4.0.la \
-- $(LIBGDA_LIBS)
-+ $(LIBGDA_LIBS) \
-+ $(BDB_LIBS)
-
- gda_bdb_test_SOURCES = gda-bdb-test.c
- gda_bdb_test_LDADD = \
- $(LIBGDA_LIBS) \
-+ $(BDB_LIBS) \
- $(top_builddir)/libgda/libgda-4.0.la
-
- xmldir = $(datadir)/libgda-4.0