commit: 4a7ea6d83d36125cbeae45801e4430f2f300a785 Author: Stefan Strogin <steils <AT> gentoo <DOT> org> AuthorDate: Wed Feb 26 00:35:59 2020 +0000 Commit: Stefan Strogin <steils <AT> gentoo <DOT> org> CommitDate: Wed Feb 26 00:37:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a7ea6d8
net-libs/nodejs: replace wrongly used subshell with 'if' Closes: https://bugs.gentoo.org/710784 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Stefan Strogin <steils <AT> gentoo.org> net-libs/nodejs/nodejs-10.19.0.ebuild | 6 +++++- net-libs/nodejs/nodejs-12.16.1.ebuild | 6 +++++- net-libs/nodejs/nodejs-13.9.0.ebuild | 6 +++++- net-libs/nodejs/nodejs-99999999.ebuild | 6 +++++- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/net-libs/nodejs/nodejs-10.19.0.ebuild b/net-libs/nodejs/nodejs-10.19.0.ebuild index db37b4f3518..1aedca2b28c 100644 --- a/net-libs/nodejs/nodejs-10.19.0.ebuild +++ b/net-libs/nodejs/nodejs-10.19.0.ebuild @@ -100,7 +100,11 @@ src_configure() { use inspector || myconf+=( --without-inspector ) use npm || myconf+=( --without-npm ) use snapshot && myconf+=( --with-snapshot ) - use ssl && ( use system-ssl && myconf+=( --shared-openssl ) ) || myconf+=( --without-ssl ) + if use ssl; then + use system-ssl && myconf+=( --shared-openssl ) + else + myconf+=( --without-ssl ) + fi local myarch="" case ${ABI} in diff --git a/net-libs/nodejs/nodejs-12.16.1.ebuild b/net-libs/nodejs/nodejs-12.16.1.ebuild index 6c929f70278..d0e7e0c5b4c 100644 --- a/net-libs/nodejs/nodejs-12.16.1.ebuild +++ b/net-libs/nodejs/nodejs-12.16.1.ebuild @@ -107,7 +107,11 @@ src_configure() { use inspector || myconf+=( --without-inspector ) use npm || myconf+=( --without-npm ) use snapshot || myconf+=( --without-node-snapshot ) - use ssl && ( use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) ) || myconf+=( --without-ssl ) + if use ssl; then + use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) + else + myconf+=( --without-ssl ) + fi local myarch="" case ${ABI} in diff --git a/net-libs/nodejs/nodejs-13.9.0.ebuild b/net-libs/nodejs/nodejs-13.9.0.ebuild index 4d35b088093..00513e8978c 100644 --- a/net-libs/nodejs/nodejs-13.9.0.ebuild +++ b/net-libs/nodejs/nodejs-13.9.0.ebuild @@ -105,7 +105,11 @@ src_configure() { use inspector || myconf+=( --without-inspector ) use npm || myconf+=( --without-npm ) use snapshot || myconf+=( --without-node-snapshot ) - use ssl && ( use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) ) || myconf+=( --without-ssl ) + if use ssl; then + use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) + else + myconf+=( --without-ssl ) + fi local myarch="" case ${ABI} in diff --git a/net-libs/nodejs/nodejs-99999999.ebuild b/net-libs/nodejs/nodejs-99999999.ebuild index 71618f3c523..7a8dc689fdd 100644 --- a/net-libs/nodejs/nodejs-99999999.ebuild +++ b/net-libs/nodejs/nodejs-99999999.ebuild @@ -102,7 +102,11 @@ src_configure() { use inspector || myconf+=( --without-inspector ) use npm || myconf+=( --without-npm ) use snapshot || myconf+=( --without-node-snapshot ) - use ssl && ( use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) ) || myconf+=( --without-ssl ) + if use ssl; then + use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) + else + myconf+=( --without-ssl ) + fi local myarch="" case ${ABI} in
