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.
This commit is contained in:
parent
c931c661dc
commit
e42aca7e33
2 changed files with 8 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue