PKG_SUPPORTED_OPTIONS must be set before bsd.options.mk is included.

This commit is contained in:
ghen 2006-10-03 12:09:14 +00:00
parent 114453d16b
commit 618b15ab09

View file

@ -1,8 +1,12 @@
# $NetBSD: options.mk,v 1.2 2006/09/24 16:21:33 salo Exp $
# $NetBSD: options.mk,v 1.3 2006/10/03 12:09:14 ghen Exp $
PKG_OPTIONS_VAR = PKG_OPTIONS.gecko
PKG_SUPPORTED_OPTIONS = debug
.if ( ${MOZILLA_BIN} == "firefox-bin" || ${MOZILLA_BIN} == "thunderbird-bin" )
PKG_SUPPORTED_OPTIONS += official-mozilla-branding
.endif
.include "../../mk/bsd.options.mk"
# this .if test looks backward, but the missing options disables debug,
@ -11,10 +15,6 @@ PKG_SUPPORTED_OPTIONS = debug
CONFIGURE_ARGS+= --disable-debug
.endif
.if ( ${MOZILLA_BIN} == "firefox-bin" || ${MOZILLA_BIN} == "thunderbird-bin" )
PKG_SUPPORTED_OPTIONS += official-mozilla-branding
.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.