pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/xwave



Module Name:    pkgsrc
Committed By:   rillig
Date:           Mon Apr 27 18:12:43 UTC 2020

Modified Files:
        pkgsrc/audio/xwave: Makefile

Log Message:
audio/xwave: skip SUBST block if it would be a no-op


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/audio/xwave/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/xwave/Makefile
diff -u pkgsrc/audio/xwave/Makefile:1.28 pkgsrc/audio/xwave/Makefile:1.29
--- pkgsrc/audio/xwave/Makefile:1.28    Wed Apr 20 12:10:35 2016
+++ pkgsrc/audio/xwave/Makefile Mon Apr 27 18:12:43 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2016/04/20 12:10:35 nros Exp $
+# $NetBSD: Makefile,v 1.29 2020/04/27 18:12:43 rillig Exp $
 #
 
 DISTNAME=              xwave2
@@ -16,10 +16,14 @@ INSTALLATION_DIRS=  bin lib/X11/app-defau
 
 MAKE_JOBS_SAFE=                no
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${DEVOSSAUDIO} != /dev/audio
 SUBST_CLASSES+=                devaudio
 SUBST_STAGE.devaudio=  pre-configure
 SUBST_FILES.devaudio=  src/XWave
 SUBST_SED.devaudio=    -e 's,/dev/audio,${DEVOSSAUDIO},g'
+.endif
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/src/xwave ${DESTDIR}${PREFIX}/bin



Home | Main Index | Thread Index | Old Index