summaryrefslogtreecommitdiff
path: root/mail/perdition/options.mk
blob: 1b1c6238e1ea7e1014e007b87692a7f91d9fe537 (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
# $NetBSD: options.mk,v 1.2 2006/03/04 16:06:29 tv Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.perdition
PKG_SUPPORTED_OPTIONS=	ssl pam
PKG_SUGGESTED_OPTIONS=	ssl

.include "../../mk/bsd.options.mk"

###
### Build with PAM support.
###
.if !empty(PKG_OPTIONS:Mpam)
.  include "../../mk/pam.buildlink3.mk"
PLIST_SUBST+=		PERDITION_HAVE_PAM=
.else
# prevent recognition of PAM in the base system
CONFIGURE_ENV+=		ac_cv_header_security_pam_appl_h=no
PLIST_SUBST+=		PERDITION_HAVE_PAM="@comment "
.endif

###
### Build with OpenSSL as the underlying crypto library.
###
.if !empty(PKG_OPTIONS:Mssl)
.  include "../../security/openssl/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-ssl
.endif