]> granicus.if.org Git - python/commitdiff
- Build the ossaudio extension on GNU/kFreeBSD.
authorMatthias Klose <doko@ubuntu.com>
Wed, 21 Apr 2010 22:18:52 +0000 (22:18 +0000)
committerMatthias Klose <doko@ubuntu.com>
Wed, 21 Apr 2010 22:18:52 +0000 (22:18 +0000)
Misc/NEWS
setup.py

index 9f008175b3a1be2c518881a070694cbad93b48ef..d956c9317366124b8f79071fa7de82f92cf761dd 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -58,6 +58,11 @@ Library
 - Issue #8374: Update the internal alias table in the :mod:`locale` module
   to cover recent locale changes and additions.
 
+Extension Modules
+-----------------
+
+- Build the ossaudio extension on GNU/kFreeBSD.
+
 
 What's New in Python 2.7 beta 1?
 ================================
index 27e5f1330d8f7668e6d1a088d58322c03e2db6f8..08e819e93768ed92d03216e8b525db8f8e3be161 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1361,8 +1361,9 @@ class PyBuildExt(build_ext):
         else:
             missing.append('linuxaudiodev')
 
-        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')