summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorghen <ghen>2010-01-25 12:31:08 +0000
committerghen <ghen>2010-01-25 12:31:08 +0000
commitc50fd4d7e3615097a25d81a3d74edf698ab4de76 (patch)
tree6db561637ea497953182d8b79227936bbe73a98c /mail
parent447e80c417c3bf4b7f1245d0af37099d3528050b (diff)
downloadpkgsrc-c50fd4d7e3615097a25d81a3d74edf698ab4de76.tar.gz
Option dovecot-managesieve without dovecot-sieve not supported.
Set PKG_FAIL_REASON in that case.
Diffstat (limited to 'mail')
-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