blob: 65bb8c5cf671772dacf2f15349d6aac6f653b079 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-lib_tevent_wscript,v 1.1 2015/06/26 16:09:49 jperkin Exp $
Skip epoll tests on SunOS, implementation is Linux-specific.
--- lib/tevent/wscript.orig 2015-03-04 19:50:43.000000000 +0000
+++ lib/tevent/wscript
@@ -41,7 +41,7 @@ def configure(conf):
if conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytevent', 'tevent', minversion=VERSION):
conf.define('USING_SYSTEM_PYTEVENT', 1)
- if conf.CHECK_FUNCS('epoll_create', headers='sys/epoll.h'):
+ if not sys.platform.startswith('sunos') and conf.CHECK_FUNCS('epoll_create', headers='sys/epoll.h'):
conf.DEFINE('HAVE_EPOLL', 1)
tevent_num_signals = 64
|