- Build the ossaudio extension on GNU/kFreeBSD.
diff --git a/Misc/NEWS b/Misc/NEWS
index 9f00817..d956c93 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -58,6 +58,11 @@
- 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 @@
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')