summaryrefslogtreecommitdiff
path: root/www/seamonkey
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2007-06-16 01:14:47 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2007-06-16 01:14:47 +0000
commit4b5068d6b8d111008c422f34ed8cf64c293c15d4 (patch)
tree95c9bd75d93330189ae5e9bcb2b65e0b3541ddde /www/seamonkey
parent6c16673691709104c293e0277def5e8414b193a8 (diff)
downloadpkgsrc-4b5068d6b8d111008c422f34ed8cf64c293c15d4.tar.gz
Use a package option to control the --enable-single-profile option for
mozilla browsers. This is now useful again to those of use who require multiple profiles.
Diffstat (limited to 'www/seamonkey')
-rw-r--r--www/seamonkey/options.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/seamonkey/options.mk b/www/seamonkey/options.mk
index c41c85b380a..bcdcdf7ae9e 100644
--- a/www/seamonkey/options.mk
+++ b/www/seamonkey/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2006/11/15 15:28:21 martin Exp $
+# $NetBSD: options.mk,v 1.5 2007/06/16 01:14:48 dmcmahill Exp $
PKG_OPTIONS_VAR = PKG_OPTIONS.gecko
PKG_SUPPORTED_OPTIONS = debug
@@ -7,6 +7,10 @@ PKG_SUPPORTED_OPTIONS = debug
PKG_SUPPORTED_OPTIONS += official-mozilla-branding
.endif
+.if ( ${MOZILLA_BIN} == "firefox-bin" || ${MOZILLA_BIN} == "seamonkey-bin" )
+PKG_SUPPORTED_OPTIONS += mozilla-single-profile
+.endif
+
.include "../../mk/bsd.options.mk"
# this .if test looks backward, but the missing options disables debug,
@@ -17,6 +21,10 @@ CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= --enable-debug
.endif
+.if !empty(PKG_OPTIONS:Mmozilla-single-profile)
+CONFIGURE_ARGS+= --enable-single-profile
+.endif
+
# Enable Official mozilla.org Branding for Firefox or Thunderbird.
# Note that you cannot distribute builds with Official Branding
# without permission of the Mozilla Foundation.