pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/xulrunner Add mozilla-jit option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69cba4ba3476
branches:  trunk
changeset: 397239:69cba4ba3476
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Aug 09 21:05:01 2009 +0000

description:
Add mozilla-jit option

diffstat:

 devel/xulrunner/PLIST      |  12 +++++++++++-
 devel/xulrunner/options.mk |  19 +++++++++++++++++--
 2 files changed, 28 insertions(+), 3 deletions(-)

diffs (81 lines):

diff -r b66f57270526 -r 69cba4ba3476 devel/xulrunner/PLIST
--- a/devel/xulrunner/PLIST     Sun Aug 09 20:51:09 2009 +0000
+++ b/devel/xulrunner/PLIST     Sun Aug 09 21:05:01 2009 +0000
@@ -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/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/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/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 -r b66f57270526 -r 69cba4ba3476 devel/xulrunner/options.mk
--- a/devel/xulrunner/options.mk        Sun Aug 09 20:51:09 2009 +0000
+++ b/devel/xulrunner/options.mk        Sun Aug 09 21:05:01 2009 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index