summaryrefslogtreecommitdiff
path: root/mail/dovecot
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-08-19 04:57:01 +0000
committergrant <grant@pkgsrc.org>2005-08-19 04:57:01 +0000
commitd9a446615b53a33e4d01d975180f302851063993 (patch)
treebea2818647b0b225b0dd8ecc36cce187daff8083 /mail/dovecot
parent07fa8b95368bc58102a98733baed9574592081b8 (diff)
downloadpkgsrc-d9a446615b53a33e4d01d975180f302851063993.tar.gz
add pam as a supported option.
bump PKGREVISION since this is a change from the previous behaviour, where PAM support was autodetected. it must now be explicitly enabled via PKG_OPTIONS.dovecot.
Diffstat (limited to 'mail/dovecot')
-rw-r--r--mail/dovecot/Makefile3
-rw-r--r--mail/dovecot/options.mk14
2 files changed, 14 insertions, 3 deletions
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index 34a9fa4c777..64fac1462e2 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.36 2005/04/11 21:46:18 tv Exp $
+# $NetBSD: Makefile,v 1.37 2005/08/19 04:57:01 grant Exp $
DISTNAME= dovecot-0.99.14
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.dovecot.org/releases/
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