summaryrefslogtreecommitdiff
path: root/devel/xulrunner
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-08-15 05:03:30 +0000
committerobache <obache@pkgsrc.org>2009-08-15 05:03:30 +0000
commitd15e9f319d43d3733d35c490180be3b358501d83 (patch)
treedc25b12fb401c2bd62aee8c247f83266a37cfeb7 /devel/xulrunner
parent537be20a22af1b476c4ae5f96b486a72775212bc (diff)
downloadpkgsrc-d15e9f319d43d3733d35c490180be3b358501d83.tar.gz
Fixes PLIST for arm and sparc with jit option.
Diffstat (limited to 'devel/xulrunner')
-rw-r--r--devel/xulrunner/PLIST4
-rw-r--r--devel/xulrunner/options.mk6
2 files changed, 7 insertions, 3 deletions
diff --git a/devel/xulrunner/PLIST b/devel/xulrunner/PLIST
index 9a2e9afd280..573cce02065 100644
--- a/devel/xulrunner/PLIST
+++ b/devel/xulrunner/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2009/08/10 13:13:42 tnn Exp $
+@comment $NetBSD: PLIST,v 1.11 2009/08/15 05:03:30 obache Exp $
bin/xulrunner
include/xulrunner/stable/base64.h
include/xulrunner/stable/blapit.h
@@ -460,7 +460,7 @@ ${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
+${PLIST.jit}include/xulrunner/unstable/Native${NANOJIT_ARCH}.h
include/xulrunner/unstable/ProxyJNI.h
${PLIST.jit}include/xulrunner/unstable/RegAlloc.h
${PLIST.jit}include/xulrunner/unstable/TraceTreeDrawer.h
diff --git a/devel/xulrunner/options.mk b/devel/xulrunner/options.mk
index da306c17f4b..9a7ad23305f 100644
--- a/devel/xulrunner/options.mk
+++ b/devel/xulrunner/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2009/08/09 21:05:02 tnn Exp $
+# $NetBSD: options.mk,v 1.3 2009/08/15 05:03:30 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xulrunner
PKG_SUPPORTED_OPTIONS= debug mozilla-jemalloc
@@ -13,6 +13,9 @@ PKG_SUGGESTED_OPTIONS+= mozilla-jemalloc
!empty(MACHINE_ARCH:Marm)
PKG_SUPPORTED_OPTIONS+= mozilla-jit
PKG_SUGGESTED_OPTIONS+= mozilla-jit
+NANOJIT_ARCH.i386= i386
+NANOJIT_ARCH.arm= ARM
+NANOJIT_ARCH.sparc= Sparc
.endif
.include "../../mk/bsd.options.mk"
@@ -31,6 +34,7 @@ CONFIGURE_ARGS+= --disable-debug
.if !empty(PKG_OPTIONS:Mmozilla-jit)
PLIST.jit= yes
+PLIST_SUBST+= NANOJIT_ARCH=${NANOJIT_ARCH.${MACHINE_ARCH}}
CONFIGURE_ARGS+= --enable-jit
.else
CONFIGURE_ARGS+= --disable-jit