churchyard / rpms / python2

Forked from rpms/python2 2 years ago
Clone
3056bf
diff a/setup.py b/setup.py
3056bf
--- a/setup.py	2018-01-17 11:58:45.384354567 +0100
3056bf
+++ b/setup.py	2018-01-17 11:54:23.384743168 +0100
3056bf
@@ -1346,19 +1346,10 @@
3056bf
             else:
3056bf
                 missing.append('resource')
3056bf
 
3056bf
-            # Sun yellow pages. Some systems have the functions in libc.
3056bf
-            if (host_platform not in ['cygwin', 'atheos', 'qnx6'] and
3056bf
-                find_file('rpcsvc/yp_prot.h', inc_dirs, []) is not None):
3056bf
-                if (self.compiler.find_library_file(lib_dirs, 'nsl')):
3056bf
-                    libs = ['nsl']
3056bf
-                else:
3056bf
-                    libs = []
3056bf
-                exts.append( Extension('nis', ['nismodule.c'],
3056bf
-                                       libraries = libs) )
3056bf
-            else:
3056bf
-                missing.append('nis')
3056bf
+            # nis (Sun yellow pages) is handled in Setup.dist
3056bf
+
3056bf
         else:
3056bf
-            missing.extend(['nis', 'resource', 'termios'])
3056bf
+            missing.extend(['resource', 'termios'])
3056bf
 
3056bf
         # Curses support, requiring the System V version of curses, often
3056bf
         # provided by the ncurses library.