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