pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/platform
Module Name: pkgsrc
Committed By: schmonz
Date: Sun Jul 9 17:03:12 UTC 2017
Modified Files:
pkgsrc/mk/platform: Darwin.mk
Log Message:
Define PKG_HAVE_KQUEUE where available.
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 pkgsrc/mk/platform/Darwin.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/platform/Darwin.mk
diff -u pkgsrc/mk/platform/Darwin.mk:1.86 pkgsrc/mk/platform/Darwin.mk:1.87
--- pkgsrc/mk/platform/Darwin.mk:1.86 Tue Jan 17 15:32:17 2017
+++ pkgsrc/mk/platform/Darwin.mk Sun Jul 9 17:03:12 2017
@@ -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 @@ CONFIGURE_ENV+= ac_cv_func_poll=no
. 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