From 01069f512e5130e9f48ffc312ebb6e7bea55caf4 Mon Sep 17 00:00:00 2001 From: nia Date: Sun, 19 Aug 2018 14:37:17 +0000 Subject: pulseaudio: Check for soundcard.h on Linux. Hopefully fixes the build on linux systems with OSS headers. --- audio/pulseaudio/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'audio/pulseaudio') diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile index 4ba17489137..b7173df1256 100644 --- a/audio/pulseaudio/Makefile +++ b/audio/pulseaudio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.130 2018/07/25 12:15:59 adam Exp $ +# $NetBSD: Makefile,v 1.131 2018/08/19 14:37:17 nia Exp $ DISTNAME= pulseaudio-12.2 CATEGORIES= audio @@ -69,6 +69,9 @@ PLIST_VARS+= alsa bonjour coreaudio evdev oss sun . if exists(/usr/include/linux/input.h) PLIST.evdev= yes . endif +. if exists(/usr/include/linux/soundcard.h) +PLIST.oss= yes +. endif PLIST.alsa= yes .include "../../audio/alsa-lib/buildlink3.mk" .elif ${OPSYS} == "SunOS" -- cgit v1.2.3