summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2024-09-03 09:08:54 -0500
committerWilliam Hubbs <williamh@gentoo.org>2024-09-03 09:08:54 -0500
commitc051b9e04dd9197a973595a8536baf191f32f1d1 (patch)
tree64d5e0496e0d83f6f9890d4ed0cbbcb596bfc93f /net-libs
parentnet-proxy/haproxy: Bump to 3.0.4 re CVE-2024-45506 (diff)
downloadgentoo-c051b9e04dd9197a973595a8536baf191f32f1d1.tar.gz
gentoo-c051b9e04dd9197a973595a8536baf191f32f1d1.tar.bz2
gentoo-c051b9e04dd9197a973595a8536baf191f32f1d1.zip
net-libs/nodejs: fix -systen-ssl dependency in 22.7.0
If system-ssl isn't used, also require that net-libs/ngtcp2 be built without gnutls. Bug: https://bugs.gentoo.org/934497 Bug: https://bugs.gentoo.org/938455 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/nodejs/nodejs-22.7.0.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-libs/nodejs/nodejs-22.7.0.ebuild b/net-libs/nodejs/nodejs-22.7.0.ebuild
index 40e5d335039b..a6437d109013 100644
--- a/net-libs/nodejs/nodejs-22.7.0.ebuild
+++ b/net-libs/nodejs/nodejs-22.7.0.ebuild
@@ -7,7 +7,7 @@ CONFIG_CHECK="~ADVISE_SYSCALLS"
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="threads(+)"
-inherit bash-completion-r1 check-reqs flag-o-matic linux-info ninja-utils pax-utils python-any-r1 xdg-utils
+inherit bash-completion-r1 check-reqs flag-o-matic linux-info ninja-utils pax-utils python-any-r1 toolchain-funcs xdg-utils
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
HOMEPAGE="https://nodejs.org/"
@@ -39,11 +39,14 @@ RDEPEND=">=app-arch/brotli-1.0.9:=
>=dev-libs/simdjson-3.9.1:=
>=net-dns/c-ares-1.18.1:=
>=net-libs/nghttp2-1.61.0:=
- >=net-libs/ngtcp2-1.3.0:=
sys-libs/zlib
corepack? ( !sys-apps/yarn )
system-icu? ( >=dev-libs/icu-73:= )
- system-ssl? ( >=dev-libs/openssl-1.1.1:0= )
+ system-ssl? (
+ >=net-libs/ngtcp2-1.3.0:=
+ >=dev-libs/openssl-1.1.1:0=
+ )
+ !system-ssl? ( >=net-libs/ngtcp2-1.3.0:=[-gnutls] )
sys-devel/gcc:*"
BDEPEND="${PYTHON_DEPS}
app-alternatives/ninja