From 479d896fa96ec61a1cc047dc5d75341dcf7a8544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 21 Nov 2017 01:09:03 +0100 Subject: [PATCH] mozjs52: fix build and xlint --- srcpkgs/mozjs52/template | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/srcpkgs/mozjs52/template b/srcpkgs/mozjs52/template index 945d06ea67..2dfb586f58 100644 --- a/srcpkgs/mozjs52/template +++ b/srcpkgs/mozjs52/template @@ -30,18 +30,19 @@ do_configure() { _args+=" --target=$XBPS_CROSS_TRIPLET" fi + touch ${wrksrc}/js/src/configure SHELL=/bin/bash PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ - --disable-jemalloc --disable-optimize --enable-ctypes \ - --enable-gcgenerational --enable-pie --enable-readline \ - --enable-shared-js --enable-system-ffi --enable-tests \ - --enable-threadsafe --enable-xterm-updates --with-intl-api \ - --with-system-icu --with-system-nspr --with-system-zlib \ - ${_args} + --disable-jemalloc --disable-optimize --enable-ctypes \ + --enable-gcgenerational --enable-pie --enable-readline \ + --enable-shared-js --enable-system-ffi --enable-tests \ + --enable-threadsafe --enable-xterm-updates --with-intl-api \ + --with-system-icu --with-system-nspr --with-system-zlib \ + ${_args} } post_install() { - mv $DESTDIR/usr/lib/libmozjs-52.so $DESTDIR/usr/lib/libmozjs-52.so.0 - ln -sr $DESTDIR/usr/lib/libmozjs-52.so.0 $DESTDIR/usr/lib/libmozjs-52.so + mv $DESTDIR/usr/lib/libmozjs-52.so $DESTDIR/usr/lib/libmozjs-52.so.0 + ln -sr $DESTDIR/usr/lib/libmozjs-52.so.0 $DESTDIR/usr/lib/libmozjs-52.so } mozjs52-devel_package() {