aboutsummaryrefslogtreecommitdiff
path: root/chinese/cce
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
commit37f2224fa6a14520df830ae1daeba9b877daa347 (patch)
tree13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /chinese/cce
parent3ff37e385bb15e608586b24278ba3dde9ea57151 (diff)
downloadports-37f2224fa6a14520df830ae1daeba9b877daa347.tar.gz
ports-37f2224fa6a14520df830ae1daeba9b877daa347.zip
Notes
Diffstat (limited to 'chinese/cce')
-rw-r--r--chinese/cce/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/chinese/cce/Makefile b/chinese/cce/Makefile
index 0aab9d9bc1d1..4a475bd7c2ff 100644
--- a/chinese/cce/Makefile
+++ b/chinese/cce/Makefile
@@ -18,8 +18,10 @@ PATCH_DIST_ARGS= -d ${WRKSRC} -p1
MAINTAINER= statue@freebsd.sinica.edu.tw
-MAN1= cce.1
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_REINPLACE= yes
+
+MAN1= cce.1
pre-configure:
(cd ${WRKSRC} && ${LN} -fs Makefile.FreeBSD Makefile )
@@ -27,6 +29,6 @@ pre-configure:
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} > 500012
- @${FIND} ${WRKSRC}/src/ -name "*.c" | ${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 "*.c" | ${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>