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.
This commit is contained in:
parent
1e3f12922c
commit
56edb9ea60
1 changed files with 4 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue