[arch-commits] Commit in js/trunk (PKGBUILD)

Ionut Biru ibiru at archlinux.org
Mon Jul 18 19:11:01 UTC 2011


    Date: Monday, July 18, 2011 @ 15:11:01
  Author: ibiru
Revision: 131990

enable utf8 support. mongodb needs it. FS#25066

Modified:
  js/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-18 18:22:07 UTC (rev 131989)
+++ PKGBUILD	2011-07-18 19:11:01 UTC (rev 131990)
@@ -2,7 +2,7 @@
 # Maintainer: Ionut Biru <ibiru at archlinux.org>
 pkgname=js
 pkgver=1.8.5
-pkgrel=1
+pkgrel=2
 pkgdesc="JavaScript interpreter and libraries"
 arch=(i686 x86_64)
 url="https://developer.mozilla.org/En/SpiderMonkey/1.8.5"
@@ -17,7 +17,11 @@
          '364834a8391888642c53d78c3a949d94')
 build() {
   cd "$srcdir/$pkgname-$pkgver/js/src"
+
   patch -Np0 -i $srcdir/js185-destdir.patch
+
+  export CXXFLAGS="$CXXFLAGS -DJS_C_STRINGS_ARE_UTF8"
+
   ./configure --prefix=/usr --with-system-nspr \
      --enable-threadsafe
 




More information about the arch-commits mailing list