pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/snd snd: OSS seems to be broken on Linux, disabl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7fe11843ce6
branches:  trunk
changeset: 414362:b7fe11843ce6
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Mar 26 12:08:47 2020 +0000

description:
snd: OSS seems to be broken on Linux, disable it

diffstat:

 audio/snd/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 2ba30492fd8d -r b7fe11843ce6 audio/snd/Makefile
--- a/audio/snd/Makefile        Thu Mar 26 12:07:19 2020 +0000
+++ b/audio/snd/Makefile        Thu Mar 26 12:08:47 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.99 2020/03/22 08:58:17 nia Exp $
+# $NetBSD: Makefile,v 1.100 2020/03/26 12:08:47 nia Exp $
 
 DISTNAME=              snd-20.2
 CATEGORIES=            audio
@@ -24,8 +24,9 @@
 .include "../../mk/oss.buildlink3.mk"
 .include "../../mk/bsd.prefs.mk"
 
-# On NetBSD we use sunaudio.
-.if ${OSS_TYPE} != "none" && ${OPSYS} != "NetBSD"
+# On NetBSD we use sunaudio, and on Linux we use ALSA.
+.if ${OSS_TYPE} != "none" && \
+    ${OPSYS} != "NetBSD" && ${OPSYS} != "Linux"
 CONFIGURE_ARGS+=       --with-oss
 LDFLAGS+=              ${LIBOSSAUDIO}
 .else



Home | Main Index | Thread Index | Old Index