Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/xtrs emulators/xtrs: fix SUBST block for oss



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a43ebe9db655
branches:  trunk
changeset: 431751:a43ebe9db655
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat May 16 12:31:11 2020 +0000

description:
emulators/xtrs: fix SUBST block for oss

Defining SUBST_FILES without a corresponding SUBST_SED makes the build
fail in SUBST_NOOP_OK=no mode.

diffstat:

 emulators/xtrs/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r d15ffbfea026 -r a43ebe9db655 emulators/xtrs/Makefile
--- a/emulators/xtrs/Makefile   Sat May 16 11:59:45 2020 +0000
+++ b/emulators/xtrs/Makefile   Sat May 16 12:31:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2015/07/04 16:18:30 joerg Exp $
+# $NetBSD: Makefile,v 1.28 2020/05/16 12:31:11 rillig Exp $
 #
 
 DISTNAME=      xtrs-4.9d
@@ -23,10 +23,10 @@
 SUBST_SED.mf+=         -e 's|/usr/include/X11|${X11BASE}/include|g'
 SUBST_SED.mf+=         -e 's|/share/man|/${PKGMANDIR}|g'
 
+.if ${OSS_TYPE} != none
 SUBST_CLASSES+=                oss
 SUBST_STAGE.oss=       post-configure
 SUBST_FILES.oss=       trs_cassette.c cassette
-.if ${OSS_TYPE} != none
 SUBST_SED.oss=         -e 's|/dev/dsp|${DEVOSSSOUND}|g'
 SUBST_SED.oss+=                -e 's|if __linux|if 1|'
 .endif



Home | Main Index | Thread Index | Old Index