diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/mozilla/options.mk | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/www/mozilla/options.mk b/www/mozilla/options.mk index 4473769d328..316e08d0d3d 100644 --- a/www/mozilla/options.mk +++ b/www/mozilla/options.mk @@ -1,8 +1,12 @@ -# $NetBSD: options.mk,v 1.1 2005/11/26 22:09:25 martin Exp $ +# $NetBSD: options.mk,v 1.2 2006/02/02 14:03:49 ghen Exp $ PKG_OPTIONS_VAR = PKG_OPTIONS.gecko PKG_SUPPORTED_OPTIONS = debug +.if( ${MOZILLA_BIN} == "firefox-bin" ) +PKG_SUPPORTED_OPTIONS += official-mozilla-branding +.endif + .include "../../mk/bsd.options.mk" # this .if test looks backward, but the missing options disables debug, @@ -10,3 +14,14 @@ PKG_SUPPORTED_OPTIONS = debug .if empty(PKG_OPTIONS:Mdebug) CONFIGURE_ARGS+= --disable-debug .endif + +# Enable Official mozilla.org Branding for Firefox. +# Note that you cannot distribute builds with Official Branding +# without permission of the Mozilla Foundation. +# See http://www.mozilla.org/foundation/trademarks/ +.if !empty(PKG_OPTIONS:Mofficial-mozilla-branding) +CONFIGURE_ARGS+= --enable-official-branding +RESTRICTED= "Cannot redistribute builds with Official Branding at this moment, we need permission of The Mozilla Foundation for this." +NO_BIN_ON_CDROM= ${RESTRICTED} +NO_BIN_ON_FTP= ${RESTRICTED} +.endif |