chat/ircd-hybrid: Adds support for wolfSSL TLS option.

This commit is contained in:
fox 2020-02-04 20:40:18 +00:00
parent c489fb420d
commit 0f2a73b938

View file

@ -1,9 +1,9 @@
# $NetBSD: options.mk,v 1.6 2020/01/25 23:48:31 fox Exp $
# $NetBSD: options.mk,v 1.7 2020/02/04 20:40:18 fox Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ircd-hybrid
PKG_OPTIONS_OPTIONAL_GROUPS= ssl
PKG_OPTIONS_GROUP.ssl= gnutls ssl
PKG_OPTIONS_GROUP.ssl= gnutls ssl wolfssl
PKG_SUGGESTED_OPTIONS= ssl
@ -18,6 +18,9 @@ CONFIGURE_ARGS+= --with-tls=openssl
.elif !empty(PKG_OPTIONS:Mgnutls)
. include "../../security/gnutls/buildlink3.mk"
CONFIGURE_ARGS+= --with-tls=gnutls
.elif !empty(PKG_OPTIONS:Mwolfssl)
. include "../../security/wolfssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-tls=wolfssl
.else
CONFIGURE_ARGS+= --with-tls=none
.endif