summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2010-07-23 07:44:51 +0000
committerghen <ghen@pkgsrc.org>2010-07-23 07:44:51 +0000
commit9f5bcfd3c84725f6a868028b3ef35f2ae2150288 (patch)
treef6afcb7f5fc0f8001e6b5ae5ab3199933478a0f5
parent8b196842387b02582edfad543d99da4f6957754f (diff)
downloadpkgsrc-9f5bcfd3c84725f6a868028b3ef35f2ae2150288.tar.gz
Automatically include dovecot-(manage)sieve options when generating distinfo.
-rw-r--r--mail/dovecot/options.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/dovecot/options.mk b/mail/dovecot/options.mk
index cdd9e3f1d63..41e1b6f31e2 100644
--- a/mail/dovecot/options.mk
+++ b/mail/dovecot/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.26 2010/04/30 10:50:21 ghen Exp $
+# $NetBSD: options.mk,v 1.27 2010/07/23 07:44:51 ghen Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dovecot
PKG_SUPPORTED_OPTIONS= dovecot-sieve dovecot-managesieve gssapi
@@ -95,7 +95,7 @@ CONFIGURE_ARGS+= --without-gssapi
###
### Sieve and the ManageSieve patch
###
-.if !empty(PKG_OPTIONS:Mdovecot-sieve)
+.if !empty(PKG_OPTIONS:Mdovecot-sieve) || make(distinfo) || make(makesum)
# ManageSieve needs Sieve to build.
# We can't simply use CONFIGURE_DIRS+= and BUILD_DIRS+=
# because dovecot must be built before sieve can be configured
@@ -117,7 +117,7 @@ INSTALL_DIRS+= ${WRKSRC.sieve}
# Augment PLIST for sieve
PLIST_SRC+= ${PKGDIR}/PLIST.sieve
-. if !empty(PKG_OPTIONS:Mdovecot-managesieve)
+. if !empty(PKG_OPTIONS:Mdovecot-managesieve) || make(distinfo) || make(makesum)
# The managesieve patch to dovecot
PATCHFILES+= ${MANAGESIEVE_PATCH}
# managesieve itself (built after both dovecot and sieve)