summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorghen <ghen>2006-08-16 20:56:02 +0000
committerghen <ghen>2006-08-16 20:56:02 +0000
commita846eae76e8d550ac13c1a11f0faf556c67dd271 (patch)
tree5a43a83b84b0e93a6a155f9f30b0a80abaf492d7 /mail
parentcfd2285b808a10c642127b4abb75efdc67e80d56 (diff)
downloadpkgsrc-a846eae76e8d550ac13c1a11f0faf556c67dd271.tar.gz
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 (limited to 'mail')
-rw-r--r--mail/dovecot/Makefile3
-rw-r--r--mail/dovecot/options.mk8
2 files changed, 8 insertions, 3 deletions
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index c6ff1c1f0b0..41ea419a3da 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -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 @@ USE_TOOLS+= pkg-config
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 --git a/mail/dovecot/options.mk b/mail/dovecot/options.mk
index 2e604061a6f..323ec510e48 100644
--- a/mail/dovecot/options.mk
+++ b/mail/dovecot/options.mk
@@ -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_OPTIONAL_GROUPS= ssl
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 @@ CONFIGURE_ARGS+= --with-sqlite
.if !empty(PKG_OPTIONS:Mkqueue)
CONFIGURE_ARGS+= --with-ioloop=kqueue
CONFIGURE_ARGS+= --with-notify=kqueue
+.else
+# use the defaults
.endif
###