Fixup the config file path, otherwise, it ends up trying to read it from, the

stagedir, which, from a poudriere built package would be:

You can prevent this message by adding the line 'check_mail:0' in
/wrkdirs/usr/ports/sysutils/multitail/work/stage/usr/local/etc/multitail.conf
or in .multitailrc in your home-directory.
This commit is contained in:
Mathieu Arnold 2013-12-30 13:39:47 +00:00
parent 357315c1f3
commit 5e476c009d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338113

View File

@ -3,6 +3,7 @@
PORTNAME= multitail
PORTVERSION= 5.2.12
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.vanheusden.com/multitail/ \
http://fossies.org/unix/privat/
@ -23,7 +24,7 @@ PORTDOCS= readme.txt license.txt
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's,/etc/multitail.conf,${PREFIX}/etc/multitail.conf,' \
@${REINPLACE_CMD} -e 's,$$(DESTDIR)/etc/multitail.conf,${PREFIX}/etc/multitail.conf,' \
-e 's/CC=gcc/CC?=gcc/' \
${WRKSRC}/mt.c ${WRKSRC}/Makefile