diff options
author | tnn <tnn@pkgsrc.org> | 2009-08-09 21:05:01 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2009-08-09 21:05:01 +0000 |
commit | e5b888a50b6e7b90c70d689b08ff6be8be8e788a (patch) | |
tree | 370646ac9085f22b9cc81421ffa5d2db9bb13a50 /devel | |
parent | 87abc7bd0ff1c79ffaaafaf98468280afa97c30c (diff) | |
download | pkgsrc-e5b888a50b6e7b90c70d689b08ff6be8be8e788a.tar.gz |
Add mozilla-jit option
Diffstat (limited to 'devel')
-rw-r--r-- | devel/xulrunner/PLIST | 12 | ||||
-rw-r--r-- | devel/xulrunner/options.mk | 19 |
2 files changed, 28 insertions, 3 deletions
diff --git a/devel/xulrunner/PLIST b/devel/xulrunner/PLIST index 168c6d5185d..cbfdc60e574 100644 --- a/devel/xulrunner/PLIST +++ b/devel/xulrunner/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.8 2009/08/09 09:45:49 tnn Exp $ +@comment $NetBSD: PLIST,v 1.9 2009/08/09 21:05:01 tnn Exp $ bin/xulrunner include/xulrunner/stable/base64.h include/xulrunner/stable/blapit.h @@ -456,8 +456,16 @@ include/xulrunner/stable/sslproto.h include/xulrunner/stable/sslt.h include/xulrunner/stable/utilrename.h include/xulrunner/stable/xpcom-config.h +${PLIST.jit}include/xulrunner/unstable/Assembler.h +${PLIST.jit}include/xulrunner/unstable/Fragmento.h +${PLIST.jit}include/xulrunner/unstable/LIR.h +${PLIST.jit}include/xulrunner/unstable/Native.h +${PLIST.jit}include/xulrunner/unstable/Native${MACHINE_ARCH}.h include/xulrunner/unstable/ProxyJNI.h +${PLIST.jit}include/xulrunner/unstable/RegAlloc.h +${PLIST.jit}include/xulrunner/unstable/TraceTreeDrawer.h include/xulrunner/unstable/XPCIDispatch.h +${PLIST.jit}include/xulrunner/unstable/avmplus.h include/xulrunner/unstable/base64.h include/xulrunner/unstable/blapit.h include/xulrunner/unstable/bool.h @@ -536,6 +544,7 @@ include/xulrunner/unstable/jsautocfg.h include/xulrunner/unstable/jsautokw.h include/xulrunner/unstable/jsbit.h include/xulrunner/unstable/jsbool.h +${PLIST.jit}include/xulrunner/unstable/jsbuiltins.h include/xulrunner/unstable/jsclist.h include/xulrunner/unstable/jscntxt.h include/xulrunner/unstable/jscompat.h @@ -593,6 +602,7 @@ include/xulrunner/unstable/mozITXTToHTMLConv.h include/xulrunner/unstable/mozcontainer.h include/xulrunner/unstable/mozdrawingarea.h include/xulrunner/unstable/mozilla-config.h +${PLIST.jit}include/xulrunner/unstable/nanojit.h include/xulrunner/unstable/necko-config.h include/xulrunner/unstable/netCore.h include/xulrunner/unstable/nsASocketHandler.h diff --git a/devel/xulrunner/options.mk b/devel/xulrunner/options.mk index bfa59acecdc..da306c17f4b 100644 --- a/devel/xulrunner/options.mk +++ b/devel/xulrunner/options.mk @@ -1,14 +1,22 @@ -# $NetBSD: options.mk,v 1.1.1.1 2009/08/05 02:59:47 tnn Exp $ +# $NetBSD: options.mk,v 1.2 2009/08/09 21:05:02 tnn Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.xulrunner PKG_SUPPORTED_OPTIONS= debug mozilla-jemalloc -.include "../../mk/bsd.options.mk" +PLIST_VARS+= jit .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 .else @@ -20,3 +28,10 @@ CONFIGURE_ARGS+= --enable-debug .else CONFIGURE_ARGS+= --disable-debug .endif + +.if !empty(PKG_OPTIONS:Mmozilla-jit) +PLIST.jit= yes +CONFIGURE_ARGS+= --enable-jit +.else +CONFIGURE_ARGS+= --disable-jit +.endif |