summaryrefslogtreecommitdiffstats
path: root/sysutils/logtool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/logtool/Makefile')
-rw-r--r--sysutils/logtool/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/logtool/Makefile b/sysutils/logtool/Makefile
index 2fee2b5..0253e77 100644
--- a/sysutils/logtool/Makefile
+++ b/sysutils/logtool/Makefile
@@ -24,7 +24,9 @@ post-patch:
.for file in logtool/Makefile logtail/Makefile
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
.endfor
- @${PERL} -pi -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/logtool/config.h
+.for file in logtool/config.h conf/logtool.conf
+ @${PERL} -pi -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/${file}
+.endfor
post-install:
.if !defined(NOPORTDOCS)
OpenPOWER on IntegriCloud