summaryrefslogtreecommitdiff
path: root/sysutils/ansible
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 /sysutils/ansible
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 'sysutils/ansible')
-rw-r--r--sysutils/ansible/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/ansible/Makefile b/sysutils/ansible/Makefile
index b08d8394fb9..9698da46709 100644
--- a/sysutils/ansible/Makefile
+++ b/sysutils/ansible/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2019/04/26 13:14:14 maya Exp $
+# $NetBSD: Makefile,v 1.24 2019/05/23 19:23:16 rillig Exp $
DISTNAME= ansible-1.9.4
PKGREVISION= 2
@@ -37,9 +37,9 @@ SUBST_FILES.prefix+= lib/ansible/modules/extras/packaging/os/pkgin.py
SUBST_FILES.prefix+= plugins/README.md plugins/inventory/cobbler.py
SUBST_FILES.prefix+= plugins/inventory/collins.py
SUBST_MESSAGE.prefix= Fixing PREFIX path.
-SUBST_SED.prefix= -e "s,@PREFIX@,${PREFIX},"
-SUBST_SED.prefix+= -e "s,@PKG_SYSCONFBASE@,${PKG_SYSCONFBASE},"
-SUBST_SED.prefix+= -e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},"
+SUBST_VARS.prefix= PREFIX
+SUBST_VARS.prefix+= PKG_SYSCONFBASE
+SUBST_VARS.prefix+= PKG_SYSCONFDIR
SUBST_CLASSES+= pythonbin
SUBST_STAGE.pythonbin= pre-configure