From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 21 18:30:21 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E97216A4CF for ; Tue, 21 Sep 2004 18:30:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3783D43D48 for ; Tue, 21 Sep 2004 18:30:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i8LIUIuC003846 for ; Tue, 21 Sep 2004 18:30:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8LIUHLR003804; Tue, 21 Sep 2004 18:30:17 GMT (envelope-from gnats) Resent-Date: Tue, 21 Sep 2004 18:30:17 GMT Resent-Message-Id: <200409211830.i8LIUHLR003804@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yen-Ming Lee Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDD0B16A4CE for ; Tue, 21 Sep 2004 18:28:20 +0000 (GMT) Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B2F643D49 for ; Tue, 21 Sep 2004 18:28:20 +0000 (GMT) (envelope-from leeym@utopia.leeym.com) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id 5E1C93EADE5 for ; Wed, 22 Sep 2004 02:28:19 +0800 (CST) Received: from utopia.leeym.com ([127.0.0.1]) by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17683-07 for ; Wed, 22 Sep 2004 02:28:17 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id 1CF5A3EADE1; Wed, 22 Sep 2004 02:28:17 +0800 (CST) Message-Id: <20040921182817.1CF5A3EADE1@utopia.leeym.com> Date: Wed, 22 Sep 2004 02:28:17 +0800 (CST) From: Yen-Ming Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/71981: [PATCH] chinese/zh-chinput3: unbreak X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 18:30:21 -0000 >Number: 71981 >Category: ports >Synopsis: [PATCH] chinese/zh-chinput3: unbreak >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: Tue Sep 21 18:30:17 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.3-BETA4 i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD utopia.leeym.com 5.3-BETA4 FreeBSD 5.3-BETA4 #7: Mon Sep 13 05:12:30 CST 2004 >Description: - use REINPLACE to unbreak this port - make this port PREFIX clean Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: http://pointyhat.freebsd.org/errorlogs/i386-5-latest/zh-chinput-3.0.2.5_1.log >Fix: --- zh-chinput-3.0.2.5_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/chinese/chinput3/Makefile,v retrieving revision 1.14 diff -u -u -r1.14 Makefile --- Makefile 23 May 2004 10:08:49 -0000 1.14 +++ Makefile 21 Sep 2004 18:27:22 -0000 @@ -32,6 +32,12 @@ BROKEN= "Does not compile on amd64 (needs -fPIC)" .endif +post-patch: + @${REINPLACE_CMD} -e '/extern int ForwardEvent();/d' \ + ${WRKSRC}/src/Chinput-*/src/*.c + @${FIND} ${WRKSRC} -type f | \ + ${XARGS} ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' + pre-build: @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \ -e 's|-lc_r|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|' --- zh-chinput-3.0.2.5_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: