ports/96786: [PATCH] chinese/zhcon: Fix run error on 5.X/6.X, take maintainership
chinsan
chinsan.tw at gmail.com
Thu May 4 18:00:36 UTC 2006
>Number: 96786
>Category: ports
>Synopsis: [PATCH] chinese/zhcon: Fix run error on 5.X/6.X, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu May 04 18:00:35 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: chinsan
>Release: FreeBSD 5.5-PRERELEASE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD chinsan.twbbs.org 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #5: Fri May 5 01:17:32 CST
>Description:
- Fix run error on 5.X/6.X
- Take maintainership
Added file(s):
- files/pkg-message.in
Port maintainer (ports at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- zhcon-0.2.3_6.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/zhcon/Makefile /usr/home/chinsan/project/zhcon/Makefile
--- /usr/ports/chinese/zhcon/Makefile Tue Feb 21 08:14:17 2006
+++ /usr/home/chinsan/project/zhcon/Makefile Fri May 5 01:55:52 2006
@@ -7,12 +7,12 @@
PORTNAME= zhcon
PORTVERSION= 0.2.3
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= chinsan.tw at gmail.com
COMMENT= A fast Console Chinese System which supports framebuffer device
GNU_CONFIGURE= yes
@@ -21,11 +21,17 @@
# Don't bother to add ".if !defined(WITHOUT_NLS)", zhcon requires libintl
USE_GETTEXT= yes
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
MAN1= zhcon.1
post-patch:
@${REINPLACE_CMD} -Ee 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/display/fbdev.cpp
+ @${REINPLACE_CMD} -e '5 s|#||;' ${WRKSRC}/src/zhcon.conf
@${REINPLACE_CMD} -Ee 's,(\s*=\s*)("?)/usr/local([^"]*)("?),\1\2${PREFIX}\3\4,g' \
-e '/_nl_expand_alias/s,\(0\),\(\),g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/chinese/zhcon/files/pkg-message.in /usr/home/chinsan/project/zhcon/files/pkg-message.in
--- /usr/ports/chinese/zhcon/files/pkg-message.in Thu Jan 1 08:00:00 1970
+++ /usr/home/chinsan/project/zhcon/files/pkg-message.in Fri May 5 01:53:35 2006
@@ -0,0 +1,8 @@
+**************************************************************************
+
+ You need to add the following two line into your kernel config:
+
+ options SC_PIXEL_MODE
+ options VESA # this line can be replaced by 'kldload vesa'
+
+**************************************************************************
--- zhcon-0.2.3_6.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list