pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/cyrus-imapd22 Improve documentation for CYRUS_IDL...
details: https://anonhg.NetBSD.org/pkgsrc/rev/812c9149a5d1
branches: trunk
changeset: 477507:812c9149a5d1
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Jul 04 02:26:11 2004 +0000
description:
Improve documentation for CYRUS_IDLE, and give it a default value of "poll"
to match the default value from the cyrus-imapd configure script.
diffstat:
mail/cyrus-imapd22/Makefile | 28 ++++++++++++----------------
1 files changed, 12 insertions(+), 16 deletions(-)
diffs (46 lines):
diff -r c18ae1f82ec4 -r 812c9149a5d1 mail/cyrus-imapd22/Makefile
--- a/mail/cyrus-imapd22/Makefile Sun Jul 04 00:38:15 2004 +0000
+++ b/mail/cyrus-imapd22/Makefile Sun Jul 04 02:26:11 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/06/21 15:16:33 recht Exp $
+# $NetBSD: Makefile,v 1.14 2004/07/04 02:26:11 jlam Exp $
DISTNAME= cyrus-imapd-2.2.6
CATEGORIES= mail
@@ -81,25 +81,21 @@
CONFIGURE_ARGS+= --with-com-err=yes
.endif
-# use METHOD for IMAP IDLE
-# METHOD is poll, idled or no
-# Default: not defined
-# (== poll)
-.if defined(CYRUS_IDLE)
-. if ${CYRUS_IDLE} != "poll" && ${CYRUS_IDLE} != "idled" \
- && ${CYRUS_IDLE} != "no"
+# CYRUS_IDLE selects the method used to implement IMAP IDLE. Valid values
+# are "poll", "idled" or "no". The default is "poll".
+#
+CYRUS_IDLE?= poll
+BUILD_DEFS+= CYRUS_IDLE
+.if (${CYRUS_IDLE} != "poll") && (${CYRUS_IDLE} != "idled") && \
+ (${CYRUS_IDLE} != "no")
PKG_FAIL_REASON+= "CYRUS_IDLE must be poll, idled or no"
-. endif
+.endif
CONFIGURE_ARGS+= --with-idle=${CYRUS_IDLE}
-. if ${CYRUS_IDLE} == "idled"
-PLIST_SUBST+= IDLED=
-. else
-PLIST_SUBST+= IDLED="@comment "
-. endif
+.if ${CYRUS_IDLE} == "idled"
+PLIST_SUBST+= IDLED=
.else
-PLIST_SUBST+= IDLED="@comment "
+PLIST_SUBST+= IDLED="@comment "
.endif
-BUILD_DEFS+= CYRUS_IDLE
MAKEFLAGS+= PERL=${PERL5}
Home |
Main Index |
Thread Index |
Old Index