summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS5
-rw-r--r--setup.py5
2 files changed, 8 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 9f00817..d956c93 100644
--- 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?
================================
diff --git a/setup.py b/setup.py
index 27e5f13..08e819e 100644
--- 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')