summaryrefslogtreecommitdiff
path: root/net/ocsinventory-agent
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/ocsinventory-agent
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/ocsinventory-agent')
-rw-r--r--net/ocsinventory-agent/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ocsinventory-agent/Makefile b/net/ocsinventory-agent/Makefile
index 96360d9e1f4..94e80671b40 100644
--- a/net/ocsinventory-agent/Makefile
+++ b/net/ocsinventory-agent/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2018/08/22 09:45:56 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2019/05/23 19:23:10 rillig Exp $
#
VERS= 1.1.2.1
PKGREVISION= 10
@@ -44,7 +44,7 @@ SUBST_CLASSES+= sysconfdir path varbase apachevers
SUBST_STAGE.sysconfdir= pre-configure
SUBST_FILES.sysconfdir= lib/Ocsinventory/Agent/Config.pm
SUBST_FILES.sysconfdir+= postinst.pl
-SUBST_SED.sysconfdir= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
+SUBST_VARS.sysconfdir= PKG_SYSCONFDIR
SUBST_MESSAGE.sysconfdir= Fixing hardcoded install directory path.
SUBST_STAGE.path= pre-configure