From e7bf354fcc21c6efea79829674728a0b04ab0a44 Mon Sep 17 00:00:00 2001 From: Jing-Tang Keith Jang Date: Fri, 1 Dec 2000 04:29:28 +0000 Subject: Fix machine/console.h -> sys/{consio,kbio}.h change. PR: ports/23197 --- chinese/big5con/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/chinese/big5con/Makefile b/chinese/big5con/Makefile index 2c5f8b6e0039..abadbaacf2ec 100644 --- a/chinese/big5con/Makefile +++ b/chinese/big5con/Makefile @@ -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 +post-patch: +.if ${OSVERSION} > 500012 + @perl -pi -e 's,machine/console.h>,sys/consio.h>\n#include\t\n,' ${WRKSRC}/include/* + @perl -pi -e 's,machine/console.h>,sys/consio.h>\n#include\t\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 +.include -- cgit v1.2.3