Sun Aug 19 14:37:17 2018 UTC ()
pulseaudio: Check for soundcard.h on Linux.

Hopefully fixes the build on linux systems with OSS headers.


(nia)
diff -r1.130 -r1.131 pkgsrc/audio/pulseaudio/Makefile

cvs diff -r1.130 -r1.131 pkgsrc/audio/pulseaudio/Makefile (expand / switch to context diff)
--- pkgsrc/audio/pulseaudio/Makefile 2018/07/25 12:15:59 1.130
+++ pkgsrc/audio/pulseaudio/Makefile 2018/08/19 14:37:17 1.131
@@ -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
@@ -68,6 +68,9 @@
 .if ${OPSYS} == "Linux"
 .  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"