mozjs52: fix build and xlint
This commit is contained in:
parent
f9933459f0
commit
479d896fa9
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue