[Python-checkins] r80323 - in python/branches/py3k: Misc/NEWS setup.py

matthias.klose python-checkins at python.org
Thu Apr 22 00:21:03 CEST 2010


Author: matthias.klose
Date: Thu Apr 22 00:21:03 2010
New Revision: 80323

Log:
Merged revisions 80322 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80322 | matthias.klose | 2010-04-22 00:18:52 +0200 (Do, 22 Apr 2010) | 2 lines
  
  - Build the ossaudio extension on GNU/kFreeBSD.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Misc/NEWS
   python/branches/py3k/setup.py

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Thu Apr 22 00:21:03 2010
@@ -1022,6 +1022,8 @@
 - Issue #7999: os.setreuid() and os.setregid() would refuse to accept a -1
   parameter on some platforms such as OS X.
 
+- Build the ossaudio extension on GNU/kFreeBSD.
+
 Build
 -----
 

Modified: python/branches/py3k/setup.py
==============================================================================
--- python/branches/py3k/setup.py	(original)
+++ python/branches/py3k/setup.py	Thu Apr 22 00:21:03 2010
@@ -1227,8 +1227,9 @@
         # End multiprocessing
 
         # Platform-specific libraries
-        if platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
-                        'freebsd7', 'freebsd8'):
+        if (platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
+                        'freebsd7', 'freebsd8')
+            or platform.startswith("gnukfreebsd")):
             exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
         else:
             missing.append('ossaudiodev')


More information about the Python-checkins mailing list