From 7dd6805c44bf98d4d64a54313e9f622fd7cb2656 Mon Sep 17 00:00:00 2001 From: edwin Date: Mon, 4 Nov 2002 05:46:38 +0000 Subject: PERL -> REINPLACE And some ports have USE_PERL5=yes now. --- chinese/zhcon/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chinese/zhcon') diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile index 29db3c3bc81e..0df5a24c7ae6 100644 --- a/chinese/zhcon/Makefile +++ b/chinese/zhcon/Makefile @@ -19,6 +19,7 @@ LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-included-gettext=${LOCALBASE} USE_GMAKE= yes +USE_REINPLACE= yes MAN1= zhcon.1 @@ -26,7 +27,7 @@ MAN1= zhcon.1 post-patch: .if ${OSVERSION} > 500012 - @${FIND} ${WRKSRC}/src/ -name "*.cpp" | ${XARGS} ${PERL} -pi.bak -e 's,machine/console.h>,sys/consio.h>\n#include \n#include \n,' + @${FIND} ${WRKSRC}/src/ -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e 's,machine/console.h>,sys/consio.h>\n#include \n#include \n,' .endif .include -- cgit