diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-10-18 20:47:12 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-10-18 20:47:12 +0800 |
commit | 0361c6c54699f46b64a9b5babfc6ff7fc60490a7 (patch) | |
tree | 7fe5e831de4101a2d18d6a7f672b0321ce80fcbd /databases/libgda4/Makefile | |
parent | 73205aa7b519ee690c812c7b07fc83f1703dcf02 (diff) | |
download | marcuscom-ports-0361c6c54699f46b64a9b5babfc6ff7fc60490a7.tar marcuscom-ports-0361c6c54699f46b64a9b5babfc6ff7fc60490a7.tar.gz marcuscom-ports-0361c6c54699f46b64a9b5babfc6ff7fc60490a7.tar.bz2 marcuscom-ports-0361c6c54699f46b64a9b5babfc6ff7fc60490a7.tar.lz marcuscom-ports-0361c6c54699f46b64a9b5babfc6ff7fc60490a7.tar.xz marcuscom-ports-0361c6c54699f46b64a9b5babfc6ff7fc60490a7.tar.zst marcuscom-ports-0361c6c54699f46b64a9b5babfc6ff7fc60490a7.zip |
Fix plist problems in libgda4.
Register depend on libgcrypt.
Fix building of postgres and mysql providers.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14816 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'databases/libgda4/Makefile')
-rw-r--r-- | databases/libgda4/Makefile | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/databases/libgda4/Makefile b/databases/libgda4/Makefile index 946c00154..7049df813 100644 --- a/databases/libgda4/Makefile +++ b/databases/libgda4/Makefile @@ -3,12 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/databases/libgda4/Makefile,v 1.11 2010/09/18 12:04:38 kwm Exp $ +# $MCom: ports/databases/libgda4/Makefile,v 1.12 2010/09/28 07:19:33 kwm Exp $ # PORTNAME= libgda4 PORTVERSION?= 4.2.0 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= databases gnome MASTER_SITES= GNOME MASTER_SITE_SUBDIR= sources/${PORTNAME:S/4$//}/${PORTVERSION:R} @@ -25,6 +25,7 @@ LIBGDA4_SLAVE?= no BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \ + gcrypt.17:${PORTSDIR}/security/libgcrypt \ soup-2.4.1:${PORTSDIR}/devel/libsoup \ json-glib-1.0.0:${PORTSDIR}/devel/json-glib RUN_DEPENDS= ${LOCALBASE}/lib/girepository-1.0/GObject-2.0.typelib:${PORTSDIR}/devel/gobject-introspection @@ -45,6 +46,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ OPTIONS= UI "Build UI tools" on .endif +.if defined(WITH_UI) +INSTALLS_ICONS= yes +.endif + .include <bsd.port.pre.mk> #VERSION= ${PORTVERSION:R} @@ -54,6 +59,7 @@ PLIST_SUB= VERSION=${VERSION} .if ${LIBGDA4_SLAVE}=="no" .if defined(WITH_UI) CONFIGURE_ARGS+=--with-ui +BUILD_DEPENDS+= xml2po:${PORTSDIR}/textproc/gnome-doc-utils USE_GNOME+= gtk20 PLIST_SUB+= UI="" .else @@ -148,12 +154,21 @@ 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 jdbc mdb mysql postgres +. for d in bdb jdbc mdb mysql postgres reuseable/postgres reuseable/mysql @${REINPLACE_CMD} -e 's|$$(top_builddir)/libgda/libgda-4.0.la|${LOCALBASE}/lib/libgda-4.0.la|g' \ ${WRKSRC}/providers/${d}/Makefile.in . endfor .endif +pre-build: +.if ${LIBGDA4_SLAVE}=="postgresql" + cd ${WRKSRC}/providers/reuseable/postgres && ${GMAKE} libgda-postgres.la +.endif + +.if ${LIBGDA4_SLAVE}=="mysql" + cd ${WRKSRC}/providers/reuseable/mysql && ${GMAKE} libgda-mysql.la +.endif + .if ${LIBGDA4_SLAVE}=="no" post-install: ${INSTALL_DATA} ${WRKSRC}/data/config \ |