Import of pkgsrc-2015Q2
This commit is contained in:
17
net/samba4/patches/patch-lib_replace_wscript
Normal file
17
net/samba4/patches/patch-lib_replace_wscript
Normal file
@@ -0,0 +1,17 @@
|
||||
$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')
|
||||
Reference in New Issue
Block a user