summaryrefslogtreecommitdiff
path: root/extra/js/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-19 23:13:08 +0000
committerroot <root@rshg047.dnsready.net>2011-07-19 23:13:08 +0000
commit94e3eb45cd3402cbc5efd70ae725e8d48ed696af (patch)
tree5f43e51e770fce190ea2732d7784460e4a34b351 /extra/js/PKGBUILD
parent040215f1ca1d14472525c2562bc33e84f9728d4a (diff)
Tue Jul 19 23:13:07 UTC 2011
Diffstat (limited to 'extra/js/PKGBUILD')
-rw-r--r--extra/js/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/extra/js/PKGBUILD b/extra/js/PKGBUILD
index 97b384792..5d518186f 100644
--- a/extra/js/PKGBUILD
+++ b/extra/js/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 130213 2011-07-04 12:50:49Z ibiru $
+# $Id: PKGBUILD 131990 2011-07-18 19:11:01Z ibiru $
# Maintainer: Ionut Biru <ibiru@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 @@ md5sums=('a4574365938222adca0a6bd33329cb32'
'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