pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/xulrunner Fixes PLIST for arm and sparc with jit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3216e1593ae5
branches:  trunk
changeset: 563367:3216e1593ae5
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Aug 15 05:03:30 2009 +0000

description:
Fixes PLIST for arm and sparc with jit option.

diffstat:

 devel/xulrunner/PLIST      |  4 ++--
 devel/xulrunner/options.mk |  6 +++++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r 85e6d5f64a86 -r 3216e1593ae5 devel/xulrunner/PLIST
--- a/devel/xulrunner/PLIST     Sat Aug 15 03:31:11 2009 +0000
+++ b/devel/xulrunner/PLIST     Sat Aug 15 05:03:30 2009 +0000
@@ -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/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 -r 85e6d5f64a86 -r 3216e1593ae5 devel/xulrunner/options.mk
--- a/devel/xulrunner/options.mk        Sat Aug 15 03:31:11 2009 +0000
+++ b/devel/xulrunner/options.mk        Sat Aug 15 05:03:30 2009 +0000
@@ -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 @@
        !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 @@
 
 .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



Home | Main Index | Thread Index | Old Index