Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/xnibbles xnibbles: Handle OSS_TYPE=none correctly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d4fdc272ffe5
branches:  trunk
changeset: 437138:d4fdc272ffe5
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Aug 17 10:52:49 2020 +0000

description:
xnibbles: Handle OSS_TYPE=none correctly.

diffstat:

 games/xnibbles/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ff5e8fe3398e -r d4fdc272ffe5 games/xnibbles/Makefile
--- a/games/xnibbles/Makefile   Mon Aug 17 10:51:44 2020 +0000
+++ b/games/xnibbles/Makefile   Mon Aug 17 10:52:49 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2020/05/20 06:09:09 rillig Exp $
+# $NetBSD: Makefile,v 1.26 2020/08/17 10:52:49 jperkin Exp $
 #
 
 DISTNAME=              xnibbles-1.0BETA4
@@ -20,7 +20,7 @@
 
 .include "../../mk/oss.buildlink3.mk"
 
-.if ${DEVOSSAUDIO} != /dev/dsp
+.if ${OSS_TYPE} != "none" && ${DEVOSSAUDIO} != /dev/dsp
 SUBST_CLASSES+=                audio
 SUBST_STAGE.audio=     pre-build
 SUBST_MESSAGE.audio=   Adjusting path to audio device



Home | Main Index | Thread Index | Old Index