summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-09-27 01:11:24 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-09-27 01:11:24 +0000
commit30a7e43c5b1c894ad51c9d6de9191c8aea0c86a6 (patch)
treee1eccea36b46f198c8f66ca1faf8dc1788ca7c9d /chinese
parentKATO mega patch (diff)
for 5.x, add a patch to modify /dev/vga to /dev/ttyv0
PR: 57257 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Notes
Notes: svn path=/head/; revision=89493
Diffstat (limited to 'chinese')
-rw-r--r--chinese/kon2/Makefile2
-rw-r--r--chinese/kon2/pkg-plist6
2 files changed, 5 insertions, 3 deletions
diff --git a/chinese/kon2/Makefile b/chinese/kon2/Makefile
index c3f24c2c9a0c..dde1c1702893 100644
--- a/chinese/kon2/Makefile
+++ b/chinese/kon2/Makefile
@@ -32,6 +32,8 @@ post-patch:
-e "s,GB2312.1980,GBK,g" \
${WRKSRC}/lib/coding.c
cd ${WRKSRC} && ${PATCH} < ${.CURDIR}/files/kon.cfg.FreeBSD-patch
+ ${REINPLACE_CMD} -e 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/term.c \
+ ${WRKSRC}/src/display/vga.c
pre-install:
${MKDIR} ${PREFIX}/share/fonts/bdf
diff --git a/chinese/kon2/pkg-plist b/chinese/kon2/pkg-plist
index 96239cf8b2a2..f4147adcbb88 100644
--- a/chinese/kon2/pkg-plist
+++ b/chinese/kon2/pkg-plist
@@ -7,7 +7,7 @@ share/fonts/bdf/8x16rk.bdf.gz
share/fonts/bdf/jiskan16.bdf.gz
share/fonts/bdf/gbkst16.bdf.gz
share/fonts/bdf/kc15f.bdf.gz
-share/doc/kon2/README
-share/doc/kon2/README.FreeBSD
-@dirrm share/doc/kon2
+%%DOCSDIR%%/README
+%%DOCSDIR%%/README.FreeBSD
+@dirrm %%DOCSDIR%%
@dirrm share/fonts/bdf