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/4aa5a070a9a4
branches:  trunk
changeset: 426103:4aa5a070a9a4
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 d3688a57e44d -r 4aa5a070a9a4 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