commit: 37258e9a9e3b5144df49a70e29c5fe11c9cd0898 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Nov 7 05:15:04 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Nov 7 05:15:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37258e9a
net-misc/curl: fix USE=-ssl build Closes: https://bugs.gentoo.org/878751 Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/curl/curl-7.86.0-r1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net-misc/curl/curl-7.86.0-r1.ebuild b/net-misc/curl/curl-7.86.0-r1.ebuild index 5ab554508bc4..cbce0c5d0c97 100644 --- a/net-misc/curl/curl-7.86.0-r1.ebuild +++ b/net-misc/curl/curl-7.86.0-r1.ebuild @@ -112,10 +112,11 @@ multilib_src_configure() { # TODO: in the future, we may want to add wolfssl (https://www.wolfssl.com/) local myconf=() - myconf+=( --without-gnutls --without-mbedtls --without-nss --without-ssl ) myconf+=( --without-ca-fallback --with-ca-bundle="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt ) #myconf+=( --without-default-ssl-backend ) if use ssl ; then + myconf+=( -without-gnutls --without-mbedtls --without-nss ) + if use gnutls || use curl_ssl_gnutls; then einfo "SSL provided by gnutls" myconf+=( --with-gnutls --with-nettle ) @@ -150,6 +151,7 @@ multilib_src_configure() { fi else + myconf+=( --without-ssl ) einfo "SSL disabled" fi
