mozjs17: use host nspr-config.

This commit is contained in:
Juan RP 2014-01-23 23:34:48 +01:00
parent 7dc1c80453
commit 91f0c610b8

View file

@ -5,7 +5,7 @@ revision=2
wrksrc="mozjs${version}"
build_wrksrc="js/src"
build_style=gnu-configure
hostmakedepends="zip python perl"
hostmakedepends="zip python perl nspr-devel"
makedepends="zlib-devel nspr-devel libedit-devel libffi-devel"
short_desc="Mozilla JavaScript interpreter and library"
homepage="http://www.mozilla.org/js/"
@ -24,7 +24,6 @@ do_configure() {
fi
./configure --prefix=/usr --with-system-nspr \
--with-nspr-prefix=${XBPS_CROSS_BASE}/usr \
--enable-threadsafe ${_args}
sed -e 's,-L/usr/lib,,g' -i config/autoconf.mk