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:   ryoon
Date:           Sun Jul 30 21:49:13 UTC 2023

Modified Files:
        pkgsrc/mk/platform: NetBSD.mk

Log Message:
mk: Define OPSYS_HAVE_EPOLL for NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 pkgsrc/mk/platform/NetBSD.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/NetBSD.mk
diff -u pkgsrc/mk/platform/NetBSD.mk:1.75 pkgsrc/mk/platform/NetBSD.mk:1.76
--- pkgsrc/mk/platform/NetBSD.mk:1.75   Tue Jun 27 10:36:50 2023
+++ pkgsrc/mk/platform/NetBSD.mk        Sun Jul 30 21:49:13 2023
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.mk,v 1.75 2023/06/27 10:36:50 riastradh Exp $
+# $NetBSD: NetBSD.mk,v 1.76 2023/07/30 21:49:13 ryoon Exp $
 #
 # Variable definitions for the NetBSD operating system.
 
@@ -141,6 +141,11 @@ OPSYS_HAS_EVENTFD= # defined
 OPSYS_HAS_TIMERFD=     # defined
 .endif
 
+# check for epoll(2) support, added in NetBSD-10.99.x
+.if exists(${_CROSS_DESTDIR:U}/usr/include/sys/epoll.h)
+OPSYS_HAS_EPOLL=       # defined
+.endif
+
 # Register support for FORTIFY (with GCC)
 # Disable on older versions, see:
 # http://mail-index.netbsd.org/pkgsrc-users/2017/08/07/msg025435.html



Home | Main Index | Thread Index | Old Index