summaryrefslogtreecommitdiff
path: root/games/ztrack
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-05-16 13:01:15 +0000
committerrillig <rillig@pkgsrc.org>2020-05-16 13:01:15 +0000
commit88bf21fd8eca8ac08012a7c7b6f26c8c606fe934 (patch)
tree01af400f8bf245605da487c14e2a37427f7a4fdf /games/ztrack
parentbe99814e8743a88a2fc3ada0b65f92e5d01bd4a4 (diff)
downloadpkgsrc-88bf21fd8eca8ac08012a7c7b6f26c8c606fe934.tar.gz
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 (limited to 'games/ztrack')
-rw-r--r--games/ztrack/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/ztrack/Makefile b/games/ztrack/Makefile
index 0b7044f889e..6b08a2e328f 100644
--- a/games/ztrack/Makefile
+++ b/games/ztrack/Makefile
@@ -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_STAGE.makefile= pre-configure
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"