diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-01-03 02:08:16 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-01-03 02:08:16 +0000 |
commit | ead3c9a643d2764145eb972356a7c0cee3894601 (patch) | |
tree | 00fb0aaa1a76d1cab5e80dc4e8b241313df0c680 /chinese/cce/Makefile | |
parent | b7cb61dc4fbb315d6e8fa3fea75b13d0e13b8107 (diff) |
Notes
Diffstat (limited to 'chinese/cce/Makefile')
-rw-r--r-- | chinese/cce/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chinese/cce/Makefile b/chinese/cce/Makefile index 4a475bd7c2ff..eaff3128fc0f 100644 --- a/chinese/cce/Makefile +++ b/chinese/cce/Makefile @@ -20,6 +20,7 @@ MAINTAINER= statue@freebsd.sinica.edu.tw WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_REINPLACE= yes +REINPLACE_ARGS= # empty MAN1= cce.1 @@ -29,6 +30,9 @@ pre-configure: .include <bsd.port.pre.mk> post-patch: .if ${OSVERSION} > 500012 - @${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,' +.for i in src/key.c src/main.c src/term.c src/vc.c src/vga.c + ${REINPLACE_CMD} "s,machine/console.h>,sys/consio.h>@#include <sys/fbio.h>@#include <sys/kbio.h>@," ${WRKSRC}/${i}| tr '@' '\n' > ${WRKSRC}/${i}.bakk && \ + ${MV} ${WRKSRC}/${i}.bakk ${WRKSRC}/${i} +.endfor .endif .include <bsd.port.post.mk> |