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