aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glade2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-03-27 07:24:28 +0800
committermarcus <marcus@FreeBSD.org>2006-03-27 07:24:28 +0800
commitcdc0414c1f0dfa32319dfabc6cffa343a46e8bc5 (patch)
tree73ac9f9dea277ea746de514bd15fb959abffe99d /devel/glade2
parent5ad2c921b6279f64cf82c3845cf7c9591bdb5c9b (diff)
downloadfreebsd-ports-gnome-cdc0414c1f0dfa32319dfabc6cffa343a46e8bc5.tar.gz
freebsd-ports-gnome-cdc0414c1f0dfa32319dfabc6cffa343a46e8bc5.tar.zst
freebsd-ports-gnome-cdc0414c1f0dfa32319dfabc6cffa343a46e8bc5.zip
Optionalize libgnomedb support since libgda2 and libgda3 conflict.
Diffstat (limited to 'devel/glade2')
-rw-r--r--devel/glade2/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/devel/glade2/Makefile b/devel/glade2/Makefile
index 94f0ae3a0475..7d10859ca2fc 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>