aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-09-27 09:11:24 +0800
committerleeym <leeym@FreeBSD.org>2003-09-27 09:11:24 +0800
commit2b7e5f5721c3fed4dcd78e78efc3422b50ef4559 (patch)
tree10125a04470dc95aaec8d687ef6d1b6755a47ac8
parent66ad15aa9aa13d5cb48ca63a291e580966588856 (diff)
downloadfreebsd-ports-gnome-2b7e5f5721c3fed4dcd78e78efc3422b50ef4559.tar.gz
freebsd-ports-gnome-2b7e5f5721c3fed4dcd78e78efc3422b50ef4559.tar.zst
freebsd-ports-gnome-2b7e5f5721c3fed4dcd78e78efc3422b50ef4559.zip
for 5.x, add a patch to modify /dev/vga to /dev/ttyv0
PR: 57257 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
-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