Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2002 18:27:41 +0800 (CST)
From:      Statue <statue@freebsd.sinica.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45710: Update port: chinese/big5con
Message-ID:  <20021125102741.E62F7DE@freebsd.sinica.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         45710
>Category:       ports
>Synopsis:       Update port: chinese/big5con
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 25 02:30:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Statue
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #2: Mon Sep 9 10:45:46 CST 2002 ycheng@freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386


	
>Description:
fix -current build error
	
>How-To-Repeat:
	
>Fix:

diff -ruN big5con.orig/Makefile big5con/Makefile
--- big5con.orig/Makefile	Mon Nov 25 17:27:39 2002
+++ big5con/Makefile	Mon Nov 25 17:37:16 2002
@@ -19,6 +19,7 @@
 
 EXTRACT_ONLY=	${DISTNAME}.tgz
 USE_REINPLACE=	yes
+REINPLACE_ARGS=	# empty
 
 # With the help from pa@freebsd.ee.ntu.edu.tw
 # +0.92d use kc-fonts, whcih can be included in cdrom, instead of taipei-fonts.
@@ -31,7 +32,10 @@
 .include <bsd.port.pre.mk>
 post-patch:
 .if ${OSVERSION} > 500012
-	@${REINPLACE_CMD} -e 's,machine/console.h>,sys/consio.h>\n#include\t<sys/kbio.h>\n,' ${WRKSRC}/include/* ${WRKSRC}/src/*
+.for i in include/ksymdef.h src/term.c src/vc.c src/vga.c
+	@${REINPLACE_CMD} 's,machine/console.h>,sys/consio.h>@#include <sys/kbio.h>@,' ${WRKSRC}/${i} | tr '@' '\n' > ${WRKSRC}/${i}.bak && \
+	${MV} ${WRKSRC}/${i}.bak ${WRKSRC}/${i}
+.endfor
 .endif
 pre-install:
 	@if [ ! -f ${PREFIX}/lib/fonts/kc16.smf ]; then \
	


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021125102741.E62F7DE>