summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/rep-gtk
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-01-09 23:15:21 +0000
committersobomax <sobomax@FreeBSD.org>2002-01-09 23:15:21 +0000
commitfadec22332ea870ecb14dacbd912780c45551584 (patch)
treef58f838b7a6ced63646b92ceec82607f793c09fc /x11-toolkits/rep-gtk
parentae216246b4301bc07381567b56e05343fb5e7d3a (diff)
downloadFreeBSD-ports-fadec22332ea870ecb14dacbd912780c45551584.zip
FreeBSD-ports-fadec22332ea870ecb14dacbd912780c45551584.tar.gz
Rework oprional dependency mechanism, so that it always produces -gnome
version of the package on bento.
Diffstat (limited to 'x11-toolkits/rep-gtk')
-rw-r--r--x11-toolkits/rep-gtk/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/x11-toolkits/rep-gtk/Makefile b/x11-toolkits/rep-gtk/Makefile
index f01992c..8a10e09 100644
--- a/x11-toolkits/rep-gtk/Makefile
+++ b/x11-toolkits/rep-gtk/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
OpenPOWER on IntegriCloud