Files
pkgsrc-ng/net/samba4/patches/patch-lib_replace_wscript
2016-01-21 23:41:46 +01:00

18 lines
794 B
Plaintext

$NetBSD: patch-lib_replace_wscript,v 1.1 2015/06/26 16:09:49 jperkin Exp $
Skip epoll tests on SunOS, implementation is Linux-specific.
--- lib/replace/wscript.orig 2015-04-15 18:00:13.000000000 +0000
+++ lib/replace/wscript
@@ -283,7 +283,9 @@ def configure(conf):
conf.CHECK_FUNCS('gai_strerror get_current_dir_name')
conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs mmap setgroups syscall setsid')
conf.CHECK_FUNCS('getgrent_r getgrgid_r getgrnam_r getgrouplist getpagesize')
- conf.CHECK_FUNCS('getpwent_r getpwnam_r getpwuid_r epoll_create')
+ conf.CHECK_FUNCS('getpwent_r getpwnam_r getpwuid_r')
+ if not sys.platform.startswith('sunos'):
+ conf.CHECK_FUNCS('epoll_create')
conf.CHECK_FUNCS('port_create')
conf.SET_TARGET_TYPE('attr', 'EMPTY')