diff --git a/srcpkgs/mozjs52/template b/srcpkgs/mozjs52/template index 945d06ea67b..2dfb586f588 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() {