From: Matthias Klose Date: Wed, 21 Apr 2010 22:18:52 +0000 (+0000) Subject: - Build the ossaudio extension on GNU/kFreeBSD. X-Git-Tag: v2.7b2~226 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a96d209f02e0e4cd3d515fa2722a72a89017b2f;p=python - Build the ossaudio extension on GNU/kFreeBSD. --- diff --git a/Misc/NEWS b/Misc/NEWS index 9f008175b3..d956c93173 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 27e5f1330d..08e819e937 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')