blob: ec41a595a20ba831563bc5ea2ba87f09182a1957 (
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
|
# $NetBSD: options.mk,v 1.3 2018/11/20 09:29:24 maya Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.mpop
PKG_SUPPORTED_OPTIONS= gsasl idn
PKG_OPTIONS_OPTIONAL_GROUPS= ssl
PKG_OPTIONS_GROUP.ssl= gnutls ssl
PKG_SUGGESTED_OPTIONS= ssl
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgnutls)
CONFIGURE_ARGS+= --with-tls=gnutls
. include "../../security/gnutls/buildlink3.mk"
.elif !empty(PKG_OPTIONS:Mssl)
CONFIGURE_ARGS+= --with-tls=openssl
. include "../../security/openssl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-tls
.endif
.if !empty(PKG_OPTIONS:Mgsasl)
CONFIGURE_ARGS+= --enable-gsasl
. include "../../security/gsasl/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Midn)
. include "../../devel/libidn/buildlink3.mk"
CONFIGURE_ARGS+= --with-libidn
CONFIGURE_ARGS+= --with-libidn-prefix=${BUILDLINK_PREFIX.libidn}
.else
CONFIGURE_ARGS+= --without-libidn
.endif
|