hi,

  this enables utf8 support, a nice to have with mongodb.
  martyna@ already ok'd this. mailing it here just in case before i commit
in the next following days after i've tested it a bit more.
  comments?

  f.-

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/spidermonkey/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile    17 Nov 2010 10:56:52 -0000      1.14
+++ Makefile    2 Apr 2011 01:23:09 -0000
@@ -7,9 +7,9 @@ COMMENT=        Mozilla's C implementation of J
 V=             1.7.0
 DISTNAME=      js-${V}
 PKGNAME=       spidermonkey-${V}
-REVISION =     0
+REVISION =     1
 EPOCH =                0
-SHARED_LIBS=   js 2.0
+SHARED_LIBS=   js 3.0
 CATEGORIES=     lang
 
 HOMEPAGE=      http://www.mozilla.org/js/spidermonkey/
@@ -36,7 +36,7 @@ MAKE_FLAGS=   SO_SUFFIX=so.${LIBjs_VERSION
                JS_THREADSAFE=YES \
                JS_NO_THIN_LOCKS=YES \
                XLDFLAGS="-L${LOCALBASE}/lib -pthread" \
-               XCFLAGS="-I${LOCALBASE}/include/nspr" \
+               XCFLAGS="-I${LOCALBASE}/include/nspr -DJS_C_STRINGS_ARE_UTF8" \
                CC=${CC} \
                CCC=${CXX}
 

Reply via email to