nodejs: use system icu.

This commit is contained in:
Enno Boland 2016-05-20 20:12:33 +02:00
parent 74f8fb186b
commit 6faa519a26
1 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
# Template file for 'nodejs' # Template file for 'nodejs'
pkgname=nodejs pkgname=nodejs
version=6.2.0 version=6.2.0
revision=1 revision=2
wrksrc=node-v${version} wrksrc=node-v${version}
hostmakedepends="pkg-config python" hostmakedepends="pkg-config python icu"
makedepends="zlib-devel python-devel makedepends="zlib-devel python-devel icu-devel
$(vopt_if ssl libressl-devel) $(vopt_if libuv libuv-devel) $(vopt_if ssl libressl-devel) $(vopt_if libuv libuv-devel)
$(vopt_if http_parser http-parser-devel)" $(vopt_if http_parser http-parser-devel)"
depends="python" depends="python"
@ -32,7 +32,7 @@ do_configure() {
*) msg_error "$pkgver: cannot be cross compiled for ${XBPS_TARGET_MACHINE}\n" ;; *) msg_error "$pkgver: cannot be cross compiled for ${XBPS_TARGET_MACHINE}\n" ;;
esac esac
fi fi
./configure --prefix=/usr --shared-zlib \ ./configure --prefix=/usr --shared-zlib --with-intl=system-icu \
$(vopt_if http_parser --shared-http-parser) \ $(vopt_if http_parser --shared-http-parser) \
$(vopt_if ssl --shared-openssl) \ $(vopt_if ssl --shared-openssl) \
$(vopt_if libuv --shared-libuv) ${_args} $(vopt_if libuv --shared-libuv) ${_args}