summaryrefslogtreecommitdiff
path: root/net/wget
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2014-04-26 11:17:18 +0000
committertron <tron@pkgsrc.org>2014-04-26 11:17:18 +0000
commit9f99cd37df46277b8daafb8ad7b42ef0de19ca71 (patch)
treecd7d1d809dde49c235bf8f8a8c9dc4d736d78c5b /net/wget
parenta8e953ef3a635fc791b440f1e2ddd06770584786 (diff)
downloadpkgsrc-9f99cd37df46277b8daafb8ad7b42ef0de19ca71.tar.gz
The "ssl" option group is required. Other values than "gnutls" or "openssl"
are not allowed and it is therefore not possible to build this package without SSL support (which is good). Remove makefile snippet which made it look like it was possible to do this.
Diffstat (limited to 'net/wget')
-rw-r--r--net/wget/options.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/net/wget/options.mk b/net/wget/options.mk
index 50f054f5a85..20555bc2413 100644
--- a/net/wget/options.mk
+++ b/net/wget/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.8 2014/01/28 08:19:30 tron Exp $
+# $NetBSD: options.mk,v 1.9 2014/04/26 11:17:18 tron Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.wget
PKG_SUPPORTED_OPTIONS= idn inet6
@@ -28,12 +28,10 @@ CONFIGURE_ARGS+= --disable-ipv6
###
### Support SSL
###
-.if !empty(PKG_OPTIONS:Mopenssl)
-. include "../../security/openssl/buildlink3.mk"
-CONFIGURE_ARGS+=--with-ssl=openssl
-.elif !empty(PKG_OPTIONS:Mgnutls)
+.if !empty(PKG_OPTIONS:Mgnutls)
. include "../../security/gnutls/buildlink3.mk"
CONFIGURE_ARGS+=--with-ssl=gnutls
.else
-CONFIGURE_ARGS+=--without-ssl
+. include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+=--with-ssl=openssl
.endif