aboutsummaryrefslogtreecommitdiff
path: root/news/ifmail
diff options
context:
space:
mode:
Diffstat (limited to 'news/ifmail')
-rw-r--r--news/ifmail/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/news/ifmail/Makefile b/news/ifmail/Makefile
index 32bd80815e25..b83847383cef 100644
--- a/news/ifmail/Makefile
+++ b/news/ifmail/Makefile
@@ -19,8 +19,9 @@ MAN8= ifmail.8 iftoss.8
.if defined(IFMAIL_RUNAS)
pre-configure:
- @${PERL5} -pi -e "s/OWNER = ifmail/OWNER = ${IFMAIL_RUNAS}/" \
- ${WRKSRC}/CONFIG
+ @${MV} ${WRKSRC}/CONFIG ${WRKSRC}/CONFIG.sed
+ ${SED} -e "s/OWNER = ifmail/OWNER = ${IFMAIL_RUNAS}/" \
+ ${WRKSRC}/CONFIG.sed > ${WRKSRC}/CONFIG
.endif
pre-install: