summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorobache <obache>2012-01-19 10:53:56 +0000
committerobache <obache>2012-01-19 10:53:56 +0000
commit76671f13899b66ab610b740e32cbff2f94a3e63f (patch)
tree9aad953d2f4a8a426268f6e81081406c90440425 /mk
parent6c35e95f877625d022834124e180cf2568f27629 (diff)
downloadpkgsrc-76671f13899b66ab610b740e32cbff2f94a3e63f.tar.gz
OpenBSD-2.9 and later support kqueue(2).
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/OpenBSD.mk7
1 files changed, 6 insertions, 1 deletions
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,