diff options
author | marcus <marcus@FreeBSD.org> | 2006-03-26 23:24:28 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2006-03-26 23:24:28 +0000 |
commit | cdc0414c1f0dfa32319dfabc6cffa343a46e8bc5 (patch) | |
tree | 73ac9f9dea277ea746de514bd15fb959abffe99d /devel | |
parent | 5ad2c921b6279f64cf82c3845cf7c9591bdb5c9b (diff) | |
download | FreeBSD-ports-cdc0414c1f0dfa32319dfabc6cffa343a46e8bc5.zip FreeBSD-ports-cdc0414c1f0dfa32319dfabc6cffa343a46e8bc5.tar.gz |
Optionalize libgnomedb support since libgda2 and libgda3 conflict.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/glade2/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/devel/glade2/Makefile b/devel/glade2/Makefile index 94f0ae3..7d10859 100644 --- a/devel/glade2/Makefile +++ b/devel/glade2/Makefile @@ -8,6 +8,7 @@ PORTNAME= glade PORTVERSION= 2.12.1 +PORTREVISION= 1 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R} @@ -20,13 +21,23 @@ COMMENT= A user interface builder for GTK+/GNOME RUN_DEPENDS= ${X11BASE}/lib/gtk-2.0/modules/libgail-gnome.so:${PORTSDIR}/x11-toolkits/libgail-gnome USE_BZIP2= yes +USE_GETTEXT= yes USE_X_PREFIX= yes INSTALLS_OMF= yes GNU_CONFIGURE= yes -USE_GNOME= gnomeprefix intlhack gnomehack libgnomedb libgnomeui +USE_GNOME= gnomeprefix intlhack gnomehack libgnomeui +WANT_GNOME= yes USE_GMAKE= yes -CONFIGURE_ARGS= --enable-gnome-db CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mlibgnomedb}!="" +USE_GNOME+= libgnomedb +CONFIGURE_ARGS+= --enable-gnome-db +.else +CONFIGURE_ARGS+= --disable-gnome-db +.endif + +.include <bsd.port.post.mk> |