pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/platform Define PKG_HAVE_KQUEUE where available.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4fae7455a306
branches: trunk
changeset: 365036:4fae7455a306
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Sun Jul 09 17:03:12 2017 +0000
description:
Define PKG_HAVE_KQUEUE where available.
diffstat:
mk/platform/Darwin.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 7c291442a0d4 -r 4fae7455a306 mk/platform/Darwin.mk
--- a/mk/platform/Darwin.mk Sun Jul 09 16:16:32 2017 +0000
+++ b/mk/platform/Darwin.mk Sun Jul 09 17:03:12 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.86 2017/01/17 15:32:17 jperkin Exp $
+# $NetBSD: Darwin.mk,v 1.87 2017/07/09 17:03:12 schmonz Exp $
#
# Variable definitions for the Darwin operating system.
@@ -181,6 +181,11 @@
. endif
.endif
+# check for kqueue(2) support
+.if exists(${_OPSYS_INCLUDE_DIRS}/sys/event.h)
+PKG_HAVE_KQUEUE= # defined
+.endif
+
# If the deployment target is not set explicitly, the linker in Tiger and prior
# versions running on PowerPC hosts defaults to a target of 10.1.
# Set the target for Tiger systems to be 10.4.
Home |
Main Index |
Thread Index |
Old Index