2004-09-19 15:02:55 +02:00
|
|
|
# $NetBSD: options.mk,v 1.2 2004/09/19 13:02:55 wiz Exp $
|
2004-09-19 15:02:15 +02:00
|
|
|
|
|
|
|
.if defined(MSMTP_USE_GNUTLS) && !empty(MSMTP_USE_GNUTLS:M[yY][eE][sS])
|
|
|
|
PKG_DEFAULT_OPTIONS+= gnutls
|
|
|
|
.endif
|
|
|
|
.if defined(USE_INET6) && !empty(USE_INET6:M[yY][eE][sS])
|
|
|
|
PKG_DEFAULT_OPTIONS+= inet6
|
|
|
|
.endif
|
|
|
|
.if defined(MSMTP_USE_OPENSSL) && !empty(MSMTP_USE_OPENSSL:M[yY][eE][sS])
|
|
|
|
PKG_DEFAULT_OPTIONS+= ssl
|
|
|
|
.endif
|
|
|
|
.if defined(MSMTP_USE_GSASL) && !empty(MSMTP_USE_GSASL:M[yY][eE][sS])
|
|
|
|
PKG_DEFAULT_OPTIONS+= gsasl
|
|
|
|
.endif
|
|
|
|
.if defined(MSMTP_NO_SSL) && !empty(MSMTP_NO_SSL:M[yY][eE][sS])
|
|
|
|
PKG_DEFAULT_OPTIONS+= nossl
|
|
|
|
.endif
|
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.msmtp
|
|
|
|
PKG_SUPPORTED_OPTIONS= gnutls inet6 ssl gsasl nossl
|
|
|
|
|
|
|
|
.if !defined(PKG_OPTIONS.msmtp)
|
|
|
|
PKG_DEFAULT_OPTIONS+= inet6 ssl
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
###
|
|
|
|
### GNUtls support.
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mgnutls)
|
|
|
|
.include "../../security/gnutls/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### OpenSSL support.
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### GNUsasl support.
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mgsasl)
|
2004-09-19 15:02:55 +02:00
|
|
|
.include "../../security/gsasl/buildlink3.mk"
|
2004-09-19 15:02:15 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### No SSL support.
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mnossl)
|
|
|
|
CONFIGURE_ARGS+= --disable-ssl
|
|
|
|
.endif
|