diff options
author | adrianp <adrianp> | 2008-09-15 18:22:15 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2008-09-15 18:22:15 +0000 |
commit | 81542c74cd87d45c1562e3fbf5781e679801bb8a (patch) | |
tree | c7128d422c42e546da1ed714fcd53219f4ada923 /www | |
parent | 6f9e714ed397a04d6484878f3820a493919c0919 (diff) | |
download | pkgsrc-81542c74cd87d45c1562e3fbf5781e679801bb8a.tar.gz |
Expose an option for www/firefox3 builds to build without jemalloc as
it can cause issues on some platforms. Leave it on by default as
the exact list of impacted systems isn't known.
Ok'ed tnn@
Diffstat (limited to 'www')
-rw-r--r-- | www/seamonkey/options.mk | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/www/seamonkey/options.mk b/www/seamonkey/options.mk index bf782750792..5c11dee0c2e 100644 --- a/www/seamonkey/options.mk +++ b/www/seamonkey/options.mk @@ -1,5 +1,6 @@ -# $NetBSD: options.mk,v 1.11 2008/05/19 10:43:02 tnn Exp $ +# $NetBSD: options.mk,v 1.12 2008/09/15 18:22:15 adrianp Exp $ # used by www/firefox/Makefile.common +# used by www/firefox3/Makefile.common # used by www/seamonkey/Makefile.common PKG_OPTIONS_VAR= PKG_OPTIONS.gecko @@ -9,8 +10,21 @@ PKG_SUPPORTED_OPTIONS= debug official-mozilla-branding PKG_SUPPORTED_OPTIONS += mozilla-single-profile .endif +.if ( ${MOZILLA} == "firefox3" ) +PKG_SUPPORTED_OPTIONS += mozilla-jemalloc +PKG_SUGGESTED_OPTIONS += mozilla-jemalloc +.endif + .include "../../mk/bsd.options.mk" +# including jemalloc can cause issues on some platforms (e.g. SunOS 5.11) +# so expose an option to allow users to build FF without it. +# NOTE: This currently has only been known to happen on SunOS 5.11 x86 +# as a full list of systems is unknown the default is to still use it +.if !empty(PKG_OPTIONS:Mmozilla-jemalloc) +CONFIGURE_ARGS+= --disable-jemalloc +.endif + # this .if test looks backward, but the missing options disables debug, # so it is correct .if empty(PKG_OPTIONS:Mdebug) |