summaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-07-07 07:55:39 +0000
committerleeym <leeym@FreeBSD.org>2003-07-07 07:55:39 +0000
commit592848cf0af373b0746d1488886fb2d892762327 (patch)
tree98cf9ed71f9f22e21c4039838561f6adf20c2257 /chinese
parentb609a0d2c999bcfe70f03185d24d9832ca8fb994 (diff)
downloadFreeBSD-ports-592848cf0af373b0746d1488886fb2d892762327.zip
FreeBSD-ports-592848cf0af373b0746d1488886fb2d892762327.tar.gz
make big5con work with DEVFS.
Reviewed by: statue <statue@freebsd.netlab.cse.yzu.edu.tw>
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 7ec2247..de3fb07 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}
OpenPOWER on IntegriCloud