summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2020-08-17 10:52:49 +0000
committerjperkin <jperkin@pkgsrc.org>2020-08-17 10:52:49 +0000
commitc2e7c276c9da4e8890c8536c59f4cb136f9003c0 (patch)
tree1c96aa2c5ddb028763a6419e0247627c7697ddb2
parent520ba3b395d5273daada5c115ea4c08206e9804a (diff)
downloadpkgsrc-c2e7c276c9da4e8890c8536c59f4cb136f9003c0.tar.gz
xnibbles: Handle OSS_TYPE=none correctly.
-rw-r--r--games/xnibbles/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/xnibbles/Makefile b/games/xnibbles/Makefile
index 366a82012e4..a7173b9e486 100644
--- a/games/xnibbles/Makefile
+++ b/games/xnibbles/Makefile
@@ -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 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
.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