summaryrefslogtreecommitdiff
path: root/mail/dovecot
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2010-01-25 12:31:08 +0000
committerghen <ghen@pkgsrc.org>2010-01-25 12:31:08 +0000
commit36554a8a4095ed5f7042a0970af0cbb6853ab5a4 (patch)
tree6db561637ea497953182d8b79227936bbe73a98c /mail/dovecot
parent5455b23a96548c4a0c824044082d38d3ab3049a8 (diff)
downloadpkgsrc-36554a8a4095ed5f7042a0970af0cbb6853ab5a4.tar.gz
Option dovecot-managesieve without dovecot-sieve not supported.
Set PKG_FAIL_REASON in that case.
Diffstat (limited to 'mail/dovecot')
-rw-r--r--mail/dovecot/options.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/dovecot/options.mk b/mail/dovecot/options.mk
index b7d409e59f7..8351c1c61d8 100644
--- a/mail/dovecot/options.mk
+++ b/mail/dovecot/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.23 2009/12/11 20:52:22 ghen Exp $
+# $NetBSD: options.mk,v 1.24 2010/01/25 12:31:08 ghen Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dovecot
PKG_SUPPORTED_OPTIONS= dovecot-sieve dovecot-managesieve gssapi
@@ -131,3 +131,7 @@ INSTALL_DIRS+= ${WRKSRC.managesieve}
PLIST_SRC+= ${PKGDIR}/PLIST.managesieve
.endif # dovecot-managesieve
.endif # dovecot-sieve
+
+.if !empty(PKG_OPTIONS:Mdovecot-managesieve) && empty(PKG_OPTIONS:Mdovecot-sieve)
+PKG_FAIL_REASON= "You cannot enable dovecot-managesieve without dovecot-sieve."
+.endif