summaryrefslogtreecommitdiff
path: root/pkgtools/libkver
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2019-05-23 19:22:54 +0000
committerrillig <rillig@pkgsrc.org>2019-05-23 19:22:54 +0000
commitcabadf3d995dfdb93e43fa33e676fdfbb6f7d1f5 (patch)
treedfd45506cac9c8adb60a55d809ab0dbc4d5a750e /pkgtools/libkver
parentafe0216c35d9e0e0b96fe80eb38badf368ef84a7 (diff)
downloadpkgsrc-cabadf3d995dfdb93e43fa33e676fdfbb6f7d1f5.tar.gz
all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case.
Diffstat (limited to 'pkgtools/libkver')
-rw-r--r--pkgtools/libkver/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/libkver/Makefile b/pkgtools/libkver/Makefile
index 556198b1f70..998f6e46b7f 100644
--- a/pkgtools/libkver/Makefile
+++ b/pkgtools/libkver/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2018/07/04 13:40:32 jperkin Exp $
+# $NetBSD: Makefile,v 1.40 2019/05/23 19:23:12 rillig Exp $
PKGNAME= libkver-${VERSION}
CATEGORIES= pkgtools
@@ -32,8 +32,8 @@ FILES_SUBST+= HAS_SYSCTL=false
SUBST_CLASSES+= paths
SUBST_FILES.paths= kver/kver.sh kver/kver.8 lib/kver.3
-SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
-SUBST_SED.paths+= -e 's,@SH@,${SH},g'
+SUBST_VARS.paths= PREFIX
+SUBST_VARS.paths+= SH
SUBST_STAGE.paths= pre-configure
INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man8 ${PKGMANDIR}/cat8