aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla-devel
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-11-21 05:54:20 +0800
committermarcus <marcus@FreeBSD.org>2002-11-21 05:54:20 +0800
commita5347c3ff833a42633c9ecb8859e6a02f7304464 (patch)
tree0e6be10020e545687e9e7fdccda3c34838fa0e3f /www/mozilla-devel
parent49cd3a9575c9da52c4791fe2575d7e929d02da1a (diff)
downloadfreebsd-ports-gnome-a5347c3ff833a42633c9ecb8859e6a02f7304464.tar.gz
freebsd-ports-gnome-a5347c3ff833a42633c9ecb8859e6a02f7304464.tar.zst
freebsd-ports-gnome-a5347c3ff833a42633c9ecb8859e6a02f7304464.zip
When using the GTK+-2 version, build with ORBit2.
Submitted by: bento
Diffstat (limited to 'www/mozilla-devel')
-rw-r--r--www/mozilla-devel/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile
index 05e30f0b3686..0f2f416a3c29 100644
--- a/www/mozilla-devel/Makefile
+++ b/www/mozilla-devel/Makefile
@@ -33,7 +33,8 @@ MOZILLA?= mozilla-devel
WITHOUT_CHATZILLA= "Contains a buffer overflow reported at http://online.securityfocus.com/archive/1/270249"
.if defined(WITH_GTK2)
-LIB_DEPENDS+= gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20
+LIB_DEPENDS+= gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20 \
+ ORBit-2.0:${PORTSDIR}/devel/ORBit2
.else
USE_GNOME= gtk12
.endif
@@ -61,8 +62,6 @@ EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude */CVS/* \
USE_X_PREFIX= yes
USE_PERL5= yes
USE_GMAKE= yes
-USE_GNOMENG= yes
-USE_GNOME+= orbit
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= \
@@ -90,6 +89,11 @@ CONFIGURE_ARGS= \
--with-system-png=${LOCALBASE} \
--with-pthreads
+.if !defined(WITH_GTK2)
+USE_GNOMENG= yes
+USE_GNOME+= orbit
+.endif
+
PLIST= ${WRKDIR}/pkg-plist
# LDAP is only used by mail and news so disable both together
.if defined(WITHOUT_MAILNEWS)