summaryrefslogtreecommitdiff
path: root/audio/pulseaudio
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2018-08-19 14:37:17 +0000
committernia <nia@pkgsrc.org>2018-08-19 14:37:17 +0000
commit01069f512e5130e9f48ffc312ebb6e7bea55caf4 (patch)
treed7685bc924b818b9b5c814e77ade7a9958323803 /audio/pulseaudio
parent1761284b3fbb0ef10d1692ebe9fb5383de1676c7 (diff)
downloadpkgsrc-01069f512e5130e9f48ffc312ebb6e7bea55caf4.tar.gz
pulseaudio: Check for soundcard.h on Linux.
Hopefully fixes the build on linux systems with OSS headers.
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r--audio/pulseaudio/Makefile5
1 files changed, 4 insertions, 1 deletions
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"