pkgsrc/www/neon/options.mk
nia 0d292ce591 neon: Add gnutls support.
This probably makes more sense as a default given that neon is GPLv2.
2020-04-25 12:45:43 +00:00

26 lines
660 B
Makefile

# $NetBSD: options.mk,v 1.2 2020/04/25 12:45:43 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.neon
PKG_OPTIONS_REQUIRED_GROUPS= ssl
PKG_OPTIONS_GROUP.ssl= gnutls openssl
PKG_SUPPORTED_OPTIONS= gssapi
PKG_SUGGESTED_OPTIONS= gnutls
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgssapi)
CONFIGURE_ARGS+= --with-gssapi
. include "../../mk/krb5.buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-gssapi
.endif
.if !empty(PKG_OPTIONS:Mopenssl)
. include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-ssl=openssl
.elif !empty(PKG_OPTIONS:Mgnutls)
. include "../../security/gnutls/buildlink3.mk"
CONFIGURE_ARGS+= --with-ssl=gnutls
.endif