summaryrefslogtreecommitdiff
path: root/mail/ssmtp/Makefile
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/ssmtp/Makefile
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/ssmtp/Makefile')
-rw-r--r--mail/ssmtp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/ssmtp/Makefile b/mail/ssmtp/Makefile
index 0703c6ad243..43dc2bfc5f1 100644
--- a/mail/ssmtp/Makefile
+++ b/mail/ssmtp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2016/03/09 03:24:19 tnn Exp $
+# $NetBSD: Makefile,v 1.33 2019/05/23 19:23:09 rillig Exp $
#
# TLS functionality needs testing. Please let me know the result,
# and preferably info about your system.
@@ -33,7 +33,7 @@ MAKE_DIRS+= ${PKG_SYSCONFDIR}
SUBST_CLASSES+= paths
SUBST_FILES.paths= ${WRKDIR}/mailer.conf ssmtp.c ssmtp.conf ssmtp.8
-SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
+SUBST_VARS.paths= PREFIX
SUBST_SED.paths+= -e 's,/etc/ssl/certs,${PKG_SYSCONFDIR},g'
SUBST_SED.paths+= -e 's,/etc/ssmtp,${PKG_SYSCONFDIR},g'
SUBST_STAGE.paths= pre-configure