summaryrefslogtreecommitdiff
path: root/mail/dovecot/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dovecot/options.mk')
-rw-r--r--mail/dovecot/options.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/mail/dovecot/options.mk b/mail/dovecot/options.mk
index 549eb7e3c99..086866785d7 100644
--- a/mail/dovecot/options.mk
+++ b/mail/dovecot/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.6 2005/01/08 19:58:16 schmonz Exp $
+# $NetBSD: options.mk,v 1.7 2005/08/19 04:57:01 grant Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dovecot
-PKG_SUPPORTED_OPTIONS= gnutls inet6 ldap mysql pgsql sasl
+PKG_SUPPORTED_OPTIONS= gnutls inet6 ldap mysql pgsql sasl pam
.include "../../mk/bsd.options.mk"
###
@@ -55,3 +55,13 @@ CONFIGURE_ARGS+= --with-ldap
CONFIGURE_ARGS+= --with-cyrus-sasl2
. include "../../security/cyrus-sasl2/buildlink3.mk"
.endif
+
+###
+### PAM support.
+###
+.if !empty(PKG_OPTIONS:Mpam)
+CONFIGURE_ARGS+= --with-pam
+. include "../../mk/pam.buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-pam
+.endif