Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/ztrack games/ztrack: fix build in SUBST_NOOP_OK=...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f53b21bb88b2
branches:  trunk
changeset: 431753:f53b21bb88b2
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat May 16 13:01:15 2020 +0000

description:
games/ztrack: fix build in SUBST_NOOP_OK=no mode

The sed command is not classified as identity substitution by
mk/scripts/subst-identity.awk since the s,,, is preceded by a regular
expression.  Since this is an edge case, it will not be implemented
there.  Otherwise the other addressing modes would also have to be
implemented.

diffstat:

 games/ztrack/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 2349a2aa6930 -r f53b21bb88b2 games/ztrack/Makefile
--- a/games/ztrack/Makefile     Sat May 16 12:43:10 2020 +0000
+++ b/games/ztrack/Makefile     Sat May 16 13:01:15 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2016/07/28 19:31:28 leot Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/16 13:01:15 rillig Exp $
 
 DISTNAME=      ztrack-1.0
 PKGREVISION=   1
@@ -21,6 +21,7 @@
 SUBST_MESSAGE.makefile=        Link with the proper curses type
 SUBST_FILES.makefile=  Makefile
 SUBST_SED.makefile=    -e '/LIBS/ s,-lncurses,-l${BUILDLINK_LIBNAME.curses},'
+SUBST_NOOP_OK.makefile=        yes
 
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index