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.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