commit:     566352d9426fc62acb54fa0000f3ff66e310ed86
Author:     Matt Jolly <Matt.Jolly <AT> footclan <DOT> ninja>
AuthorDate: Thu Aug 10 13:24:47 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 15 05:16:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=566352d9

net-misc/curl: make openssl and nghttp3 mutually exclusive

Bug: https://bugs.gentoo.org/912029

Signed-off-by: Matt Jolly <Matt.Jolly <AT> footclan.ninja>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/curl/curl-8.2.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-misc/curl/curl-8.2.1.ebuild b/net-misc/curl/curl-8.2.1.ebuild
index b2ec02b6d7e6..cc5b940fbf1c 100644
--- a/net-misc/curl/curl-8.2.1.ebuild
+++ b/net-misc/curl/curl-8.2.1.ebuild
@@ -30,6 +30,7 @@ RESTRICT="!test? ( test )"
 
 # Only one default ssl provider can be enabled
 # The default ssl provider needs its USE satisfied
+# nghttp3 = https://bugs.gentoo.org/912029
 REQUIRED_USE="
        ssl? (
                ^^ (
@@ -45,6 +46,7 @@ REQUIRED_USE="
        curl_ssl_nss? ( nss )
        curl_ssl_openssl? ( openssl )
        curl_ssl_rustls? ( rustls )
+       nghttp3? ( !openssl )
 "
 
 RDEPEND="
@@ -57,7 +59,7 @@ RDEPEND="
        ldap? ( net-nds/openldap:=[static-libs?,${MULTILIB_USEDEP}] )
        nghttp3? (
                net-libs/nghttp3[${MULTILIB_USEDEP}]
-               net-libs/ngtcp2[ssl,${MULTILIB_USEDEP}]
+               net-libs/ngtcp2[gnutls,ssl,-openssl,${MULTILIB_USEDEP}]
        )
        rtmp? ( media-video/rtmpdump[${MULTILIB_USEDEP}] )
        ssh? ( net-libs/libssh2[${MULTILIB_USEDEP}] )

Reply via email to