aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
Diffstat (limited to 'chinese')
-rw-r--r--chinese/big5con/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/chinese/big5con/Makefile b/chinese/big5con/Makefile
index 7ec224760e5f..de3fb076890e 100644
--- a/chinese/big5con/Makefile
+++ b/chinese/big5con/Makefile
@@ -15,6 +15,11 @@ MAINTAINER= statue@freebsd.sinica.edu.tw
COMMENT= Big5 Chinese console
ONLY_FOR_ARCHS= i386
+USE_REINPLACE= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/*c
+ ${REINPLACE_CMD} -e 's,#endif.*,#endif,g' ${WRKSRC}/include/ksymdef.h
post-install:
@${CAT} ${PKGMESSAGE}