summaryrefslogtreecommitdiff
path: root/mail/msmtp/options.mk
blob: 9e9f36c6de39cd50a8f6173358503e2ca7d8ebd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $NetBSD: options.mk,v 1.4 2005/01/10 20:59:43 adrianp Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.msmtp
PKG_SUPPORTED_OPTIONS=	gnutls inet6 ssl gsasl nossl

.if !defined(PKG_OPTIONS.msmtp)
PKG_DEFAULT_OPTIONS+=	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)
.include "../../security/gsasl/buildlink3.mk"
.endif

###
### No SSL support.
###
.if !empty(PKG_OPTIONS:Mnossl)
CONFIGURE_ARGS+=	--disable-ssl
.endif