summaryrefslogtreecommitdiff
path: root/mail/dovecot
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2006-08-18 14:59:17 +0000
committertv <tv@pkgsrc.org>2006-08-18 14:59:17 +0000
commitd7a4ba66996974e3d75e7dab1c13bf1c99756523 (patch)
tree9bde5e713bf63b0c398eeeaae500768a03827970 /mail/dovecot
parentd45d91bbcdfe935e0e417976bb311f9833eca8d5 (diff)
downloadpkgsrc-d7a4ba66996974e3d75e7dab1c13bf1c99756523.tar.gz
Use PKG_HAVE_KQUEUE. Older versions of BSDs don't have kqueue, so only
suggest the option if mk/platform/*.mk says it exists.
Diffstat (limited to 'mail/dovecot')
-rw-r--r--mail/dovecot/options.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/dovecot/options.mk b/mail/dovecot/options.mk
index 323ec510e48..c77ce9bc202 100644
--- a/mail/dovecot/options.mk
+++ b/mail/dovecot/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.17 2006/08/16 20:56:02 ghen Exp $
+# $NetBSD: options.mk,v 1.18 2006/08/18 14:59:17 tv Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dovecot
PKG_SUPPORTED_OPTIONS= gssapi inet6 kqueue ldap mysql pam pgsql sasl sqlite
@@ -6,7 +6,7 @@ PKG_OPTIONS_OPTIONAL_GROUPS= ssl
PKG_OPTIONS_GROUP.ssl= gnutls ssl
PKG_SUGGESTED_OPTIONS= ssl
-.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD"
+.ifdef PKG_HAVE_KQUEUE
PKG_SUGGESTED_OPTIONS+= kqueue
.endif