nodejs: switch to bundled icu
This commit is contained in:
parent
61fbd710ae
commit
d0b0a6089a
1 changed files with 6 additions and 4 deletions
|
@ -3,8 +3,8 @@ pkgname=nodejs
|
|||
version=7.9.0
|
||||
revision=1
|
||||
wrksrc=node-v${version}
|
||||
hostmakedepends="pkg-config python icu"
|
||||
makedepends="zlib-devel python-devel icu-devel
|
||||
hostmakedepends="pkg-config python $(vopt_if icu icu)"
|
||||
makedepends="zlib-devel python-devel $(vopt_if icu icu-devel)
|
||||
$(vopt_if ssl libressl-devel) $(vopt_if libuv libuv-devel)
|
||||
$(vopt_if http_parser http-parser-devel)"
|
||||
depends="python"
|
||||
|
@ -17,9 +17,10 @@ checksum=5cc131bb16f7ca688c29634a18b3c6a7816609a431a509f31baedf7caf25d626
|
|||
# TODO: Fix cross compiling
|
||||
nocross="https://api.travis-ci.org/jobs/208411830/log.txt?deansi=true"
|
||||
|
||||
build_options="ssl libuv http_parser"
|
||||
build_options="ssl libuv http_parser icu"
|
||||
desc_option_libuv="Enable shared libuv"
|
||||
desc_option_http_parser="Enable shared http-parser"
|
||||
desc_option_icu="Enable shared icu"
|
||||
build_options_default="libuv http_parser"
|
||||
|
||||
replaces="iojs>=0"
|
||||
|
@ -35,7 +36,8 @@ do_configure() {
|
|||
*) msg_error "$pkgver: cannot be cross compiled for ${XBPS_TARGET_MACHINE}\n" ;;
|
||||
esac
|
||||
fi
|
||||
./configure --prefix=/usr --shared-zlib --with-intl=system-icu \
|
||||
./configure --prefix=/usr --shared-zlib \
|
||||
$(vopt_if icu --with-intl=system-icu) \
|
||||
$(vopt_if http_parser --shared-http-parser) \
|
||||
$(vopt_if ssl --shared-openssl) \
|
||||
$(vopt_if libuv --shared-libuv) ${_args}
|
||||
|
|
Loading…
Reference in a new issue