Fix machine/console.h -> sys/{consio,kbio}.h change.
PR: ports/23197
This commit is contained in:
parent
edd90209be
commit
e7bf354fcc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35569
1 changed files with 7 additions and 1 deletions
|
@ -28,6 +28,12 @@ EXTRACT_ONLY= ${DISTNAME}.tgz
|
|||
# Fix some bugs
|
||||
# ftp://bsd.sinica.edu.tw/pub/FreeBSD/taiwan/users/woju/source/b5c-d2e.patch
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
post-patch:
|
||||
.if ${OSVERSION} > 500012
|
||||
@perl -pi -e 's,machine/console.h>,sys/consio.h>\n#include\t<sys/kbio.h>\n,' ${WRKSRC}/include/*
|
||||
@perl -pi -e 's,machine/console.h>,sys/consio.h>\n#include\t<sys/kbio.h>\n,' ${WRKSRC}/src/*
|
||||
.endif
|
||||
pre-install:
|
||||
@if [ ! -f ${PREFIX}/lib/fonts/kc16.smf ]; then \
|
||||
tar xvfzp ${DISTDIR}/b5cbin-pa.tgz -C ${PREFIX}; \
|
||||
|
@ -36,4 +42,4 @@ pre-install:
|
|||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue