diff options
author | marcus <marcus@FreeBSD.org> | 2002-05-18 22:09:26 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-05-18 22:09:26 +0000 |
commit | be54d1ef312245ce244fcc9031e1d3b5f6e154fa (patch) | |
tree | 70115f3437f15b854558efff29e3f10f11b74fd3 /www/mozilla-devel/Makefile | |
parent | 1fcaa5dbbebc40564ce39eddbf02c1efc14a5e9c (diff) | |
download | FreeBSD-ports-be54d1ef312245ce244fcc9031e1d3b5f6e154fa.zip FreeBSD-ports-be54d1ef312245ce244fcc9031e1d3b5f6e154fa.tar.gz |
Conditionalize mail, news, and LDAP support. All three are still enabled
by default.
Diffstat (limited to 'www/mozilla-devel/Makefile')
-rw-r--r-- | www/mozilla-devel/Makefile | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile index 003497d..b714615 100644 --- a/www/mozilla-devel/Makefile +++ b/www/mozilla-devel/Makefile @@ -7,8 +7,8 @@ PORTNAME= mozilla PORTVERSION= 1.0.rc2 -PORTEPOCH= 1 PORTREVISION= 1 +PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_MOZILLA} \ http://people.FreeBSD.org/~marcus/:local @@ -49,8 +49,6 @@ CONFIGURE_ARGS= \ --enable-double-buffer \ --enable-dtd-debug \ --enable-jsd \ - --enable-ldap \ - --enable-mailnews \ --enable-mathml \ --disable-md \ --disable-optimize \ @@ -66,6 +64,25 @@ CONFIGURE_ARGS= \ --with-system-mng=${LOCALBASE} \ --with-system-png=${LOCALBASE} \ --with-pthreads + +# LDAP is only used by mail and news so disable both together +.if defined(WITHOUT_MAILNEWS) +CONFIGURE_ARGS+= --disable-ldap --disable-mailnews +PLIST_SUB+= MOZILLAMAILNEWS="@comment " +PLIST_SUB+= MOZILLALDAP="@comment " +.else +# mail and news desired, but not LDAP +.if defined(WITHOUT_LDAP) +CONFIGURE_ARGS+= --disable-ldap --enable-mailnews +PLIST_SUB+= MOZILLAMAILNEWS="" +PLIST_SUB+= MOZILLALDAP="@comment " +.else +CONFIGURE_ARGS+= --enable-ldap --enable-mailnews +PLIST_SUB+= MOZILLAMAILNEWS="" +PLIST_SUB+= MOZILLALDAP="" +.endif +.endif + .if !defined(WITHOUT_CHATZILLA) CONFIGURE_ARGS+= --enable-extensions=default,irc,xmlterm PLIST_SUB+= CHATZILLA="" |