summaryrefslogtreecommitdiffstats
path: root/chinese/telnet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/telnet/Makefile')
-rw-r--r--chinese/telnet/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/chinese/telnet/Makefile b/chinese/telnet/Makefile
index b53efc1..5579fb3 100644
--- a/chinese/telnet/Makefile
+++ b/chinese/telnet/Makefile
@@ -14,6 +14,7 @@ DISTFILES= # none
MAINTAINER= leeym@FreeBSD.org
SRCDIR= /usr/src/usr.bin/telnet
+USE_REINPLACE= yes
MAN1= zh-telnet.1
@@ -28,7 +29,7 @@ BROKEN= "You need to build this port with ${SRCDIR}"
.endif
pre-patch:
- @${PERL} -pi -e 's,/../..,,g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's,/../..,,g' ${WRKSRC}/Makefile
pre-build:
@cd ${WRKSRC}/lib/libtelnet && ${MAKE}
OpenPOWER on IntegriCloud