pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/dovecot Use PKG_HAVE_KQUEUE. Older versions of B...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f7f13001564
branches:  trunk
changeset: 517677:8f7f13001564
user:      tv <tv%pkgsrc.org@localhost>
date:      Fri Aug 18 14:59:17 2006 +0000

description:
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:

 mail/dovecot/options.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 48dc5075d9e5 -r 8f7f13001564 mail/dovecot/options.mk
--- a/mail/dovecot/options.mk   Fri Aug 18 14:52:02 2006 +0000
+++ b/mail/dovecot/options.mk   Fri Aug 18 14:59:17 2006 +0000
@@ -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_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
 



Home | Main Index | Thread Index | Old Index