mozjs52: fix build and xlint
This commit is contained in:
parent
f9933459f0
commit
479d896fa9
1 changed files with 9 additions and 8 deletions
|
@ -30,18 +30,19 @@ do_configure() {
|
||||||
_args+=" --target=$XBPS_CROSS_TRIPLET"
|
_args+=" --target=$XBPS_CROSS_TRIPLET"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
touch ${wrksrc}/js/src/configure
|
||||||
SHELL=/bin/bash PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
|
SHELL=/bin/bash PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
|
||||||
--disable-jemalloc --disable-optimize --enable-ctypes \
|
--disable-jemalloc --disable-optimize --enable-ctypes \
|
||||||
--enable-gcgenerational --enable-pie --enable-readline \
|
--enable-gcgenerational --enable-pie --enable-readline \
|
||||||
--enable-shared-js --enable-system-ffi --enable-tests \
|
--enable-shared-js --enable-system-ffi --enable-tests \
|
||||||
--enable-threadsafe --enable-xterm-updates --with-intl-api \
|
--enable-threadsafe --enable-xterm-updates --with-intl-api \
|
||||||
--with-system-icu --with-system-nspr --with-system-zlib \
|
--with-system-icu --with-system-nspr --with-system-zlib \
|
||||||
${_args}
|
${_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
mv $DESTDIR/usr/lib/libmozjs-52.so $DESTDIR/usr/lib/libmozjs-52.so.0
|
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
|
ln -sr $DESTDIR/usr/lib/libmozjs-52.so.0 $DESTDIR/usr/lib/libmozjs-52.so
|
||||||
}
|
}
|
||||||
|
|
||||||
mozjs52-devel_package() {
|
mozjs52-devel_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue