aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/httplog
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/httplog')
-rw-r--r--sysutils/httplog/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/httplog/Makefile b/sysutils/httplog/Makefile
index 6b3fde25a32..a26c094df99 100644
--- a/sysutils/httplog/Makefile
+++ b/sysutils/httplog/Makefile
@@ -17,13 +17,14 @@ MAN8= httplog.8
DOCS= ChangeLog README
+USE_REINPLACE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
post-patch:
(cd ${WRKSRC} && \
- ${PERL} -pi -e "s@<wait.h>@<sys/wait.h>@" httplog.c && \
- ${PERL} -pi -e \
+ ${REINPLACE_CMD} -e "s@<wait.h>@<sys/wait.h>@" httplog.c && \
+ ${REINPLACE_CMD} -e \
"s@/var/lib/apache/bin/httplog@${PREFIX}/sbin/httplog@" \
httplog.8)