diff options
author | tnn <tnn@pkgsrc.org> | 2009-08-09 21:13:39 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2009-08-09 21:13:39 +0000 |
commit | ad0743d7209b990ae52cc04d694284c186ef26c1 (patch) | |
tree | ccf5954ef90a67299773b2aea89e6cb2b4547363 /www/firefox | |
parent | f8b8ed6baa528bf55caabf77dd033c32467a2bbd (diff) | |
download | pkgsrc-ad0743d7209b990ae52cc04d694284c186ef26c1.tar.gz |
add mozilla-jit option
Diffstat (limited to 'www/firefox')
-rw-r--r-- | www/firefox/options.mk | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/www/firefox/options.mk b/www/firefox/options.mk index 38e639047e0..b4a75afccc5 100644 --- a/www/firefox/options.mk +++ b/www/firefox/options.mk @@ -1,16 +1,22 @@ -# $NetBSD: options.mk,v 1.1.1.1 2009/08/05 02:37:10 tnn Exp $ +# $NetBSD: options.mk,v 1.2 2009/08/09 21:13:39 tnn Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.firefox PKG_SUPPORTED_OPTIONS= debug official-mozilla-branding mozilla-jemalloc -PLIST_VARS+= jemalloc branding - -.include "../../mk/bsd.options.mk" +PLIST_VARS+= branding .if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS" PKG_SUGGESTED_OPTIONS+= mozilla-jemalloc .endif +.if !empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Msparc) || \ + !empty(MACHINE_ARCH:Marm) +PKG_SUPPORTED_OPTIONS+= mozilla-jit +PKG_SUGGESTED_OPTIONS+= mozilla-jit +.endif + +.include "../../mk/bsd.options.mk" + .if !empty(PKG_OPTIONS:Mmozilla-jemalloc) CONFIGURE_ARGS+= --enable-jemalloc . if ${OPSYS} == "SunOS" @@ -26,6 +32,12 @@ CONFIGURE_ARGS+= --enable-debug CONFIGURE_ARGS+= --disable-debug .endif +.if !empty(PKG_OPTIONS:Mmozilla-jit) +CONFIGURE_ARGS+= --enable-jit +.else +CONFIGURE_ARGS+= --disable-jit +.endif + .if !empty(PKG_OPTIONS:Mofficial-mozilla-branding) CONFIGURE_ARGS+= --enable-official-branding PLIST.branding= yes |