aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-07-07 07:55:39 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-07-07 07:55:39 +0000
commit3ab3d5bbf896f25286f90dcc5447d6221071ffc9 (patch)
tree2c8e41d5fe1205b915b9489c3b228c202fceae3c /chinese
parent81da6d97d210f747e3e61fcb6a39ef0f82ed3ff5 (diff)
downloadports-3ab3d5bbf896f25286f90dcc5447d6221071ffc9.tar.gz
ports-3ab3d5bbf896f25286f90dcc5447d6221071ffc9.zip
make big5con work with DEVFS.
Reviewed by: statue <statue@freebsd.netlab.cse.yzu.edu.tw>
Notes
Notes: svn path=/head/; revision=84360
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}