diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 05:46:38 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 05:46:38 +0000 |
commit | 37f2224fa6a14520df830ae1daeba9b877daa347 (patch) | |
tree | 13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /chinese/zhcon | |
parent | - reorder patches (diff) |
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Notes
Notes:
svn path=/head/; revision=69436
Diffstat (limited to 'chinese/zhcon')
-rw-r--r-- | chinese/zhcon/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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 <sys/fbio.h>\n#include <sys/kbio.h>\n,' + @${FIND} ${WRKSRC}/src/ -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e 's,machine/console.h>,sys/consio.h>\n#include <sys/fbio.h>\n#include <sys/kbio.h>\n,' .endif .include <bsd.port.post.mk> |