pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/dovecot When adding --with-ioloop=best last week,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d78fcfe63868
branches:  trunk
changeset: 517624:d78fcfe63868
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Wed Aug 16 20:56:02 2006 +0000

description:
When adding --with-ioloop=best last week, I did not see there already was a
pkgsrc option for kqueue support.  Hence, remove --with-ioloop=best again, and
enable the "kqueue" option by default on *BSD platforms (as already suggested
by grant when he first added the option).  The pkg's default behaviour does
not change, so don't bump PKGREVISION.

diffstat:

 mail/dovecot/Makefile   |  3 +--
 mail/dovecot/options.mk |  8 +++++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r 22c4dda916da -r d78fcfe63868 mail/dovecot/Makefile
--- a/mail/dovecot/Makefile     Wed Aug 16 20:26:02 2006 +0000
+++ b/mail/dovecot/Makefile     Wed Aug 16 20:56:02 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2006/08/09 14:23:10 ghen Exp $
+# $NetBSD: Makefile,v 1.66 2006/08/16 20:56:02 ghen Exp $
 
 DISTNAME=              dovecot-1.0.rc6
 PKGNAME=               ${DISTNAME:S/.rc/rc/}
@@ -19,7 +19,6 @@
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
 CONFIGURE_ARGS+=       --localstatedir=${VARBASE:Q}
 CONFIGURE_ARGS+=       --with-ssldir=${SSLDIR:Q}
-CONFIGURE_ARGS+=       --with-ioloop=best
 
 .include "../../mk/bsd.prefs.mk"
 .include "options.mk"
diff -r 22c4dda916da -r d78fcfe63868 mail/dovecot/options.mk
--- a/mail/dovecot/options.mk   Wed Aug 16 20:26:02 2006 +0000
+++ b/mail/dovecot/options.mk   Wed Aug 16 20:56:02 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.16 2006/05/31 18:22:23 ghen Exp $
+# $NetBSD: options.mk,v 1.17 2006/08/16 20:56:02 ghen Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.dovecot
 PKG_SUPPORTED_OPTIONS= gssapi inet6 kqueue ldap mysql pam pgsql sasl sqlite
@@ -6,6 +6,10 @@
 PKG_OPTIONS_GROUP.ssl= gnutls ssl
 PKG_SUGGESTED_OPTIONS= ssl
 
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD"
+PKG_SUGGESTED_OPTIONS+=        kqueue
+.endif
+
 .include "../../mk/bsd.options.mk"
 
 ###
@@ -81,6 +85,8 @@
 .if !empty(PKG_OPTIONS:Mkqueue)
 CONFIGURE_ARGS+=       --with-ioloop=kqueue
 CONFIGURE_ARGS+=       --with-notify=kqueue
+.else
+# use the defaults
 .endif
 
 ###



Home | Main Index | Thread Index | Old Index