blob: eb10cd9e0fb03518bc15aa45f1a95ae54ef9cb5a (
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
|
# $NetBSD: options.mk,v 1.5 2005/04/04 08:45:24 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.msmtp
PKG_DEFAULT_OPTIONS= ssl
PKG_SUPPORTED_OPTIONS= gnutls gsasl inet6 ssl
.include "../../mk/bsd.options.mk"
# GNUtls support
.if !empty(PKG_OPTIONS:Mgnutls)
.include "../../security/gnutls/buildlink3.mk"
CONFIGURE_ARGS+= --with-ssl=gnutls
.endif
# GNUsasl support
.if !empty(PKG_OPTIONS:Mgsasl)
.include "../../security/gsasl/buildlink3.mk"
.endif
# OpenSSL support
.if !empty(PKG_OPTIONS:Mssl)
.include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-ssl=openssl
.endif
# Disable any SSL support
.if empty(PKG_OPTIONS:Mgnutls) && empty(PKG_OPTIONS:Mssl)
CONFIGURE_ARGS+= --disable-ssl
.endif
|