diff options
author | vanilla <vanilla@FreeBSD.org> | 2002-11-27 23:38:38 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2002-11-27 23:38:38 +0800 |
commit | d32ebfadf0d270793031d11f999e5aa243834397 (patch) | |
tree | 9462ecdd6c059a9814fb43ce610b4d14a74b4100 /chinese/big5con/Makefile | |
parent | 15ecd934e409462bb0cc1a79844ce83a9661431e (diff) | |
download | freebsd-ports-gnome-d32ebfadf0d270793031d11f999e5aa243834397.tar.gz freebsd-ports-gnome-d32ebfadf0d270793031d11f999e5aa243834397.tar.zst freebsd-ports-gnome-d32ebfadf0d270793031d11f999e5aa243834397.zip |
Fix build in -current.
PR: ports/45710
Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Obtained from: japanese/kon2-*
Diffstat (limited to 'chinese/big5con/Makefile')
-rw-r--r-- | chinese/big5con/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chinese/big5con/Makefile b/chinese/big5con/Makefile index e940f4e869fd..892326bf85c6 100644 --- a/chinese/big5con/Makefile +++ b/chinese/big5con/Makefile @@ -19,6 +19,7 @@ ONLY_FOR_ARCHS= i386 EXTRACT_ONLY= ${DISTNAME}.tgz USE_REINPLACE= yes +REINPLACE_ARGS= # empty # With the help from pa@freebsd.ee.ntu.edu.tw # +0.92d use kc-fonts, whcih can be included in cdrom, instead of taipei-fonts. @@ -31,7 +32,10 @@ USE_REINPLACE= yes .include <bsd.port.pre.mk> post-patch: .if ${OSVERSION} > 500012 - @${REINPLACE_CMD} -e 's,machine/console.h>,sys/consio.h>\n#include\t<sys/kbio.h>\n,' ${WRKSRC}/include/* ${WRKSRC}/src/* +.for i in include/ksymdef.h src/term.c src/vc.c src/vga.c + @${REINPLACE_CMD} 's,machine/console.h>,sys/consio.h>@#include <sys/kbio.h>@,' ${WRKSRC}/${i} | tr '@' '\n' > ${WRKSRC}/${i}.bak && \ + ${MV} ${WRKSRC}/${i}.bak ${WRKSRC}/${i} +.endfor .endif pre-install: @if [ ! -f ${PREFIX}/lib/fonts/kc16.smf ]; then \ |