mozjs60: fix x86_64-musl miscompilation and enable tests

This commit is contained in:
maxice8 2018-09-14 07:19:34 -03:00
parent f96460067f
commit bebef3b348
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,7 +1,7 @@
# Template file for 'mozjs60'
pkgname=mozjs60
version=60.0.2
revision=2
revision=3
wrksrc="firefox-${version}"
build_wrksrc=js/src
build_style=gnu-configure
@ -28,18 +28,21 @@ do_configure() {
_args+=" --target=$XBPS_CROSS_TRIPLET --enable-linker=bfd"
fi
autoconf-2.13 old-configure.in > old-configure
touch ${wrksrc}/js/src/configure
touch ${wrksrc}/js/src/old-configure
SHELL=/bin/bash PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
--disable-jemalloc --disable-optimize --enable-ctypes --enable-pie \
--enable-readline --enable-shared-js --enable-system-ffi \
--disable-tests --with-intl-api --with-system-icu \
--with-system-nspr --with-system-zlib \
--enable-tests --with-intl-api --with-system-icu \
--with-system-nspr --with-system-zlib --target=${XBPS_TRIPLET} \
--host=${XBPS_TRIPLET} \
${_args}
}
do_check() {
# Needs VCS checkout type, which isn't present in release tarballs
:
dist/bin/jsapi-tests
}
post_install() {