diff options
author | marcus <marcus@FreeBSD.org> | 2009-03-01 04:52:24 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2009-03-01 04:52:24 +0800 |
commit | 0eb861c036095d12a6330e49bd4c344b807a74de (patch) | |
tree | bcc336015c77785175e91812da043b226ccbecd3 /databases/libgda4 | |
parent | 41755bb1e6ba7a090c0a24455d3516f1d04950fb (diff) | |
download | freebsd-ports-gnome-0eb861c036095d12a6330e49bd4c344b807a74de.tar.gz freebsd-ports-gnome-0eb861c036095d12a6330e49bd4c344b807a74de.tar.zst freebsd-ports-gnome-0eb861c036095d12a6330e49bd4c344b807a74de.zip |
Allow the Berkeley database provider to build.
Diffstat (limited to 'databases/libgda4')
-rw-r--r-- | databases/libgda4/Makefile | 8 | ||||
-rw-r--r-- | databases/libgda4/files/patch-providers_bdb_Makefile.in | 17 |
2 files changed, 23 insertions, 2 deletions
diff --git a/databases/libgda4/Makefile b/databases/libgda4/Makefile index d2990748788c..0a7ef22ff26e 100644 --- a/databases/libgda4/Makefile +++ b/databases/libgda4/Makefile @@ -8,7 +8,7 @@ PORTNAME= libgda4 PORTVERSION?= 3.99.12 -PORTREVISION?= 1 +PORTREVISION?= 0 CATEGORIES= databases gnome MASTER_SITES= GNOME MASTER_SITE_SUBDIR= sources/${PORTNAME:S/4$//}/${PORTVERSION:R} @@ -109,10 +109,14 @@ CONFIGURE_ARGS+= --without-odbc post-patch: @${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|include/db.h|${BDB_VER}/include/db.h|g' \ + @${REINPLACE_CMD} -e 's|include/db.h|include/db${BDB_VER}/db.h|g' \ -e 's|ldb47|ldb${BDB_VER}|g' \ -e 's|ldb|ldb${BDB_VER}|g' \ + -e 's|libdb|libdb${BDB_VER}|g' \ ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|<db\.h>|<db${BDB_VER}/db.h>|' \ + ${WRKSRC}/providers/bdb/gda-bdb-provider.c \ + ${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 diff --git a/databases/libgda4/files/patch-providers_bdb_Makefile.in b/databases/libgda4/files/patch-providers_bdb_Makefile.in new file mode 100644 index 000000000000..b000a0a768cc --- /dev/null +++ b/databases/libgda4/files/patch-providers_bdb_Makefile.in @@ -0,0 +1,17 @@ +--- 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 |