summaryrefslogtreecommitdiff
path: root/net/mrtg
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 /net/mrtg
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 'net/mrtg')
-rw-r--r--net/mrtg/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile
index 0aab993a701..8e99c69d737 100644
--- a/net/mrtg/Makefile
+++ b/net/mrtg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.127 2019/04/14 21:50:36 jnemeth Exp $
+# $NetBSD: Makefile,v 1.128 2019/05/23 19:23:10 rillig Exp $
DISTNAME= mrtg-2.17.7
#PKGREVISION= 12
@@ -30,7 +30,7 @@ SUBST_CLASSES+= files
SUBST_STAGE.files= pre-configure
SUBST_FILES.files= ../mrtg.conf.example ../netstat2mrtg \
../sys2mrtg ../envstat2mrtg
-SUBST_SED.files= -e "s|@PREFIX@|${PREFIX}|g"
+SUBST_VARS.files= PREFIX
SUBST_MESSAGE.files= Fixing default configuration files.
INSTALLATION_DIRS+= ${EGDIR} libexec