summaryrefslogtreecommitdiff
path: root/x11-toolkits/rep-gtk2
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-01-09 23:15:21 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-01-09 23:15:21 +0000
commite572405e974ddf1e86cd1e1fa81031f72844b807 (patch)
treed95451e4b02d6e1ebfebf57e7d444adaabe1b030 /x11-toolkits/rep-gtk2
parentRework optional dependency mechanism, so it's always produces -gnome version (diff)
Rework oprional dependency mechanism, so that it always produces -gnome
version of the package on bento.
Notes
Notes: svn path=/head/; revision=52834
Diffstat (limited to 'x11-toolkits/rep-gtk2')
-rw-r--r--x11-toolkits/rep-gtk2/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/x11-toolkits/rep-gtk2/Makefile b/x11-toolkits/rep-gtk2/Makefile
index f01992c042cb..8a10e0911c2d 100644
--- a/x11-toolkits/rep-gtk2/Makefile
+++ b/x11-toolkits/rep-gtk2/Makefile
@@ -27,10 +27,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= ${ARCH}-pc-freebsd${OSREL:C/\..*//}
+.if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD)
+.undef WITHOUT_GNOME
+WITH_GNOME= yes
+.endif
+
.include <bsd.port.pre.mk>
-.if defined(HAVE_GNOME) || defined(PACKAGE_BUILDING)
-.undef WITHOUT_GNOME
+.if defined(HAVE_GNOME)
USE_GNOME= yes
CONFIGURE_ARGS= --with-gnome --with-libglade --with-gdk-pixbuf \
--with-gnome-canvas-pixbuf