summaryrefslogtreecommitdiffstats
path: root/ftp/wget/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/wget/DEPENDS')
-rwxr-xr-xftp/wget/DEPENDS12
1 files changed, 8 insertions, 4 deletions
diff --git a/ftp/wget/DEPENDS b/ftp/wget/DEPENDS
index 88eeb819d9..fefc43b45c 100755
--- a/ftp/wget/DEPENDS
+++ b/ftp/wget/DEPENDS
@@ -16,10 +16,14 @@ optional_depends "texinfo" \
"" \
"to build info files" &&
-optional_depends "openssl" \
- "--with-ssl=openssl" \
- "--without-ssl" \
- "for https and ftps" &&
+case $WGET_SSL in
+ none)
+ ;;
+ gnutls) depends gnutls "--with-ssl=gnutls"
+ ;;
+ openssl) depends openssl "--with-ssl=openssl"
+ ;;
+esac
if is_depends_enabled $SPELL openssl ; then
optional_depends ca-certificates \