summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatoro Mahri <matoro_gentoo@matoro.tk>2024-05-23 17:40:44 -0400
committerCraig Andrews <candrews@gentoo.org>2024-05-23 17:55:45 -0400
commit0529eced14ec1c498f6c87b0d6feed7bedad2040 (patch)
treebffd8b076e184d9eca4a60555b61abeeb076f4ad /net-libs/ngtcp2
parentnet-nds/jxplorer: Stabilize 3.3.1.2-r2 x86, #932580 (diff)
downloadgentoo-0529eced14ec1c498f6c87b0d6feed7bedad2040.tar.gz
gentoo-0529eced14ec1c498f6c87b0d6feed7bedad2040.tar.bz2
gentoo-0529eced14ec1c498f6c87b0d6feed7bedad2040.zip
net-libs/ngtcp2: fix tests for >=1.5.0
In 1.5.0 moved to gating tests behind -DBUILD_TESTING See https://github.com/ngtcp2/ngtcp2/pull/1189 Corresponding Gentoo commit for nghttp2 is https://github.com/gentoo/gentoo/commit/2d6a77b5adaa5160199e3b4de2cf754aa8717c9e Bug: https://bugs.gentoo.org/931998 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/36799 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-libs/ngtcp2')
-rw-r--r--net-libs/ngtcp2/ngtcp2-1.5.0.ebuild3
-rw-r--r--net-libs/ngtcp2/ngtcp2-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/net-libs/ngtcp2/ngtcp2-1.5.0.ebuild b/net-libs/ngtcp2/ngtcp2-1.5.0.ebuild
index d36fb26328c9..2d57c3b7c864 100644
--- a/net-libs/ngtcp2/ngtcp2-1.5.0.ebuild
+++ b/net-libs/ngtcp2/ngtcp2-1.5.0.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/ngtcp2/ngtcp2/"
LICENSE="MIT"
SLOT="0/0"
IUSE="+gnutls openssl +ssl static-libs test"
-REQUIRED_USE="ssl? ( || ( gnutls openssl ) )"
+REQUIRED_USE="ssl? ( || ( gnutls openssl ) ) test? ( static-libs )"
BDEPEND="virtual/pkgconfig"
RDEPEND="
@@ -43,6 +43,7 @@ multilib_src_configure() {
-DENABLE_WOLFSSL=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON
-DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON
+ -DBUILD_TESTING=$(usex test)
)
cmake_src_configure
}
diff --git a/net-libs/ngtcp2/ngtcp2-9999.ebuild b/net-libs/ngtcp2/ngtcp2-9999.ebuild
index 1f15a2e28c49..c72e046deae8 100644
--- a/net-libs/ngtcp2/ngtcp2-9999.ebuild
+++ b/net-libs/ngtcp2/ngtcp2-9999.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/ngtcp2/ngtcp2/"
LICENSE="MIT"
SLOT="0/0"
IUSE="+gnutls openssl +ssl static-libs test"
-REQUIRED_USE="ssl? ( || ( gnutls openssl ) )"
+REQUIRED_USE="ssl? ( || ( gnutls openssl ) ) test? ( static-libs )"
BDEPEND="virtual/pkgconfig"
RDEPEND="
@@ -43,6 +43,7 @@ multilib_src_configure() {
-DENABLE_WOLFSSL=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON
-DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON
+ -DBUILD_TESTING=$(usex test)
)
cmake_src_configure
}