aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/zhcon
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 13:46:38 +0800
committeredwin <edwin@FreeBSD.org>2002-11-04 13:46:38 +0800
commit7dd6805c44bf98d4d64a54313e9f622fd7cb2656 (patch)
tree753b016f246dce9957c268962733d34c7e3eb7b7 /chinese/zhcon
parentc4fd09e68bc5c2ee1078b7b21b2ac0601f34aead (diff)
downloadfreebsd-ports-gnome-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.tar.gz
freebsd-ports-gnome-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.tar.zst
freebsd-ports-gnome-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.zip
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Diffstat (limited to 'chinese/zhcon')
-rw-r--r--chinese/zhcon/Makefile3
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>