From 8a96d209f02e0e4cd3d515fa2722a72a89017b2f Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Wed, 21 Apr 2010 22:18:52 +0000 Subject: [PATCH] - Build the ossaudio extension on GNU/kFreeBSD. --- Misc/NEWS | 5 +++++ setup.py | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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') -- 2.40.0