summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
Diffstat (limited to 'irc')
-rw-r--r--irc/gruftistats/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/irc/gruftistats/Makefile b/irc/gruftistats/Makefile
index 34c9b7ea5100..83be62922b1c 100644
--- a/irc/gruftistats/Makefile
+++ b/irc/gruftistats/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= mwest@uct.ac.za
GNU_CONFIGURE= YES
USE_GMAKE= YES
+USE_REINPLACE= yes
.if defined(NOPORTDOCS)
MAKE_ARGS= NOPORTDOCS=1
@@ -23,7 +24,8 @@ MAKE_ARGS= NOPORTDOCS=1
MAN1= gruftistats.1
post-patch:
- @${PERL} -pi -e 's,strcasestr,strcasestr_x,g' ${WRKSRC}/ircstats.h \
+ @${REINPLACE_CMD} -e \
+ 's,strcasestr,strcasestr_x,g' ${WRKSRC}/ircstats.h \
${WRKSRC}/lib.c
.include <bsd.port.mk>