summaryrefslogtreecommitdiff
path: root/mail/queue-fix
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 /mail/queue-fix
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 'mail/queue-fix')
-rw-r--r--mail/queue-fix/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/queue-fix/Makefile b/mail/queue-fix/Makefile
index 4a3e7c59c79..606b8b3295c 100644
--- a/mail/queue-fix/Makefile
+++ b/mail/queue-fix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2017/04/04 07:46:14 schmonz Exp $
+# $NetBSD: Makefile,v 1.11 2019/05/23 19:23:07 rillig Exp $
#
DISTNAME= queue-fix-1.4
@@ -17,14 +17,14 @@ DJB_RESTRICTED= NO
SUBST_CLASSES+= groups
SUBST_STAGE.groups= do-configure
SUBST_FILES.groups= queue-fix.c
-SUBST_SED.groups= -e 's,@QMAIL_QMAIL_GROUP@,${QMAIL_QMAIL_GROUP:Q},g'
+SUBST_VARS.groups= QMAIL_QMAIL_GROUP
SUBST_CLASSES+= users
SUBST_STAGE.users= do-configure
SUBST_FILES.users= queue-fix.c
-SUBST_SED.users+= -e 's,@QMAIL_QUEUE_USER@,${QMAIL_QUEUE_USER:Q},g'
-SUBST_SED.users+= -e 's,@QMAIL_REMOTE_USER@,${QMAIL_REMOTE_USER:Q},g'
-SUBST_SED.users+= -e 's,@QMAIL_SEND_USER@,${QMAIL_SEND_USER:Q},g'
+SUBST_VARS.users= QMAIL_QUEUE_USER
+SUBST_VARS.users+= QMAIL_REMOTE_USER
+SUBST_VARS.users+= QMAIL_SEND_USER
BUILD_DEFS+= QMAIL_QUEUE_USER QMAIL_REMOTE_USER QMAIL_SEND_USER
BUILD_DEFS+= QMAIL_QMAIL_GROUP