diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-11-25 07:35:42 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-11-25 07:36:23 +0100 |
commit | 9d80f6044384852dc2d72de7358b4a633c882cd3 (patch) | |
tree | cfab36a113abdeae36867cf34ecb6db16a15bc9e /net-libs/nodejs/nodejs-8.9.1-r1.ebuild | |
parent | x11-wm/lumina: cleanups (diff) | |
download | gentoo-9d80f6044384852dc2d72de7358b4a633c882cd3.tar.gz gentoo-9d80f6044384852dc2d72de7358b4a633c882cd3.tar.bz2 gentoo-9d80f6044384852dc2d72de7358b4a633c882cd3.zip |
net-libs/nodejs: Add USE=inspector (bug #638456 by Rodrigo Saboya).
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'net-libs/nodejs/nodejs-8.9.1-r1.ebuild')
-rw-r--r-- | net-libs/nodejs/nodejs-8.9.1-r1.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net-libs/nodejs/nodejs-8.9.1-r1.ebuild b/net-libs/nodejs/nodejs-8.9.1-r1.ebuild index c36cfdcd86b5..e3f1fec1f463 100644 --- a/net-libs/nodejs/nodejs-8.9.1-r1.ebuild +++ b/net-libs/nodejs/nodejs-8.9.1-r1.ebuild @@ -16,7 +16,11 @@ SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos" -IUSE="cpu_flags_x86_sse2 debug doc icu +npm +snapshot +ssl systemtap test" +IUSE="cpu_flags_x86_sse2 debug doc icu inspector +npm +snapshot +ssl systemtap test" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + inspector? ( icu ssl ) +" RDEPEND=" >=dev-libs/libuv-1.15.0:= @@ -33,7 +37,6 @@ DEPEND="${RDEPEND} test? ( net-misc/curl )" S="${WORKDIR}/node-v${PV}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" PATCHES=( "${FILESDIR}"/gentoo-global-npm-config.patch @@ -94,6 +97,7 @@ src_configure() { local myconf=( --shared-http-parser --shared-libuv --shared-nghttp2 --shared-zlib ) use debug && myconf+=( --debug ) use icu && myconf+=( --with-intl=system-icu ) || myconf+=( --with-intl=none ) + use inspector || myconf+=( --without-inspector ) use npm || myconf+=( --without-npm ) use snapshot && myconf+=( --with-snapshot ) use ssl && myconf+=( --shared-openssl ) || myconf+=( --without-ssl ) |