summaryrefslogtreecommitdiff
path: root/www/micro_httpd
diff options
context:
space:
mode:
Diffstat (limited to 'www/micro_httpd')
-rw-r--r--www/micro_httpd/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/micro_httpd/Makefile b/www/micro_httpd/Makefile
index 20f78fef59b1..e68a4cc4b952 100644
--- a/www/micro_httpd/Makefile
+++ b/www/micro_httpd/Makefile
@@ -14,15 +14,16 @@ DISTNAME= ${PORTNAME}_15dec00
MAINTAINER= user@unknown.nu
+USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAN8= micro_httpd.8
post-patch:
- @${PERL} -pi -e "s:/usr/local/sbin:${PREFIX}/sbin:g; \
+ @${REINPLACE_CMD} -e "s:/usr/local/sbin:${PREFIX}/sbin:g; \
s:/usr/local/man/man8:${MAN8PREFIX}/man/man8:g; \
s:^(CC|CFLAGS) =.+::g;" \
${WRKSRC}/Makefile
- @${PERL} -pi -e "s/^.TH micro_httpd 1/.TH micro_httpd 8/g" \
+ @${REINPLACE_CMD} -e "s/^.TH micro_httpd 1/.TH micro_httpd 8/g" \
${WRKSRC}/micro_httpd.8
.include <bsd.port.mk>