diff setup.py @ 52561:8f51dd09f3f2

Merged revisions 70849,70852 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r70849 | jesse.noller | 2009-03-31 13:12:35 -0500 (Tue, 31 Mar 2009) | 1 line Apply patch for netbsd multiprocessing support ........ r70852 | jesse.noller | 2009-03-31 13:27:14 -0500 (Tue, 31 Mar 2009) | 1 line missed the news/acks for netbsd patch ........
author Jesse Noller <jnoller@gmail.com>
date Tue, 31 Mar 2009 18:48:42 +0000
parents 41e407286610
children d3887dfe661f
line wrap: on
line diff
--- a/setup.py	Tue Mar 31 18:41:03 2009 +0000
+++ b/setup.py	Tue Mar 31 18:48:42 2009 +0000
@@ -1023,6 +1023,15 @@
                 )
             libraries = []
 
+        elif platform.startswith('netbsd'):
+            macros = dict(                  # at least NetBSD 5
+                HAVE_SEM_OPEN=1,
+                HAVE_SEM_TIMEDWAIT=0,
+                HAVE_FD_TRANSFER=1,
+                HAVE_BROKEN_SEM_GETVALUE=1
+                )
+            libraries = []
+
         else:                                   # Linux and other unices
             macros = dict(
                 HAVE_SEM_OPEN=1,