diff options
author | marcus <marcus@FreeBSD.org> | 2002-05-19 06:09:26 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-05-19 06:09:26 +0800 |
commit | be54d1ef312245ce244fcc9031e1d3b5f6e154fa (patch) | |
tree | 70115f3437f15b854558efff29e3f10f11b74fd3 /www/seamonkey2/Makefile | |
parent | 1fcaa5dbbebc40564ce39eddbf02c1efc14a5e9c (diff) | |
download | freebsd-ports-gnome-be54d1ef312245ce244fcc9031e1d3b5f6e154fa.tar.gz freebsd-ports-gnome-be54d1ef312245ce244fcc9031e1d3b5f6e154fa.tar.zst freebsd-ports-gnome-be54d1ef312245ce244fcc9031e1d3b5f6e154fa.zip |
Conditionalize mail, news, and LDAP support. All three are still enabled
by default.
Diffstat (limited to 'www/seamonkey2/Makefile')
-rw-r--r-- | www/seamonkey2/Makefile | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/www/seamonkey2/Makefile b/www/seamonkey2/Makefile index 003497d49bba..b714615e4128 100644 --- a/www/seamonkey2/Makefile +++ b/www/seamonkey2/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="" |