31 lines
677 B
Makefile
31 lines
677 B
Makefile
# $NetBSD: options.mk,v 1.8 2005/08/31 18:37:33 tv Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.msmtp
|
|
|
|
PKG_OPTIONS_OPTIONAL_GROUPS= ssl
|
|
PKG_OPTIONS_GROUP.ssl= gnutls ssl
|
|
|
|
PKG_SUPPORTED_OPTIONS= gsasl inet6
|
|
PKG_SUGGESTED_OPTIONS= ssl
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### SSL support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
. 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
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ssl
|
|
.endif
|
|
|
|
###
|
|
### GNUsasl support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mgsasl)
|
|
. include "../../security/gsasl/buildlink3.mk"
|
|
.endif
|