From 2936ea62292b833b1240a12f94e625d24195e342 Mon Sep 17 00:00:00 2001 From: obache Date: Thu, 19 Jan 2012 10:53:56 +0000 Subject: OpenBSD-2.9 and later support kqueue(2). --- mk/platform/OpenBSD.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mk/platform') diff --git a/mk/platform/OpenBSD.mk b/mk/platform/OpenBSD.mk index ca9e2625830..1e2dff97c30 100644 --- a/mk/platform/OpenBSD.mk +++ b/mk/platform/OpenBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: OpenBSD.mk,v 1.31 2011/09/10 16:30:02 abs Exp $ +# $NetBSD: OpenBSD.mk,v 1.32 2012/01/19 10:53:56 obache Exp $ # # Variable definitions for the OpenBSD operating system. @@ -97,6 +97,11 @@ DEFAULT_SERIAL_DEVICE?= /dev/null SERIAL_DEVICES?= /dev/null .endif +# check for kqueue(2) support, added in OpenBSD-2.9 +.if exists(/usr/include/sys/event.h) +PKG_HAVE_KQUEUE= # defined +.endif + _OPSYS_CAN_CHECK_SHLIBS= no # can't use readelf in check/bsd.check-vars.mk # check for maximum command line length and set it in configure's environment, -- cgit v1.2.3