Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  6 Oct 2006 12:23:48 +0800
From:      chinsan <chinsan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/104037: [MAINTAINER] chinese/gcin: Fix syntax error while replace bash as sh
Message-ID:  <20061006043054.248292E9DF@smtp2.bc.hgc.com.tw>
Resent-Message-ID: <200610060440.k964eI0a059743@freefall.freebsd.org>

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

>Number:         104037
>Category:       ports
>Synopsis:       [MAINTAINER] chinese/gcin: Fix syntax error while replace bash as sh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 06 04:40:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     chinsan
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
Taiwan
>Environment:
System: FreeBSD BSD6.giga.hgc.com.tw 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #6: Thu Sep 14 09:46:10 CST 2006
>Description:
- Fix syntax error while replace bash as sh
Detailed disscuss at:
http://cle.linux.org.tw/gcin/readcomment.php?comment_id=397&comment_current_page=99999#comment
  
  Thanks to LGJ for reporting bug

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- gcin-1.2.6_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/gcin/Makefile /usr/home/chinsan/project/gcin/Makefile
--- /usr/ports/chinese/gcin/Makefile	Wed Oct  4 01:26:40 2006
+++ /usr/home/chinsan/project/gcin/Makefile	Fri Oct  6 12:10:27 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	gcin
 PORTVERSION=	1.2.6
+PORTREVISION=	1
 CATEGORIES=	chinese textproc gnome
 MASTER_SITES=	http://www.csie.nctu.edu.tw/~cp76/gcin/download/:main
 DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:main
@@ -52,7 +53,7 @@
 		s/gcc/$$CC/; s/gcin-$$GCIN_VERSION/gcin/' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's/qsort/mergesort/' ${WRKSRC}/gcin2tab.c
 	@${REINPLACE_CMD} -e 's/modify-XIM //; 8,10 d' ${WRKSRC}/scripts/Makefile
-	@${REINPLACE_CMD} -e 's/bash/sh/;' ${WRKSRC}/scripts/gcin-user-setup
+	@${REINPLACE_CMD} -e 's/bash/sh/; s/&//;' ${WRKSRC}/scripts/gcin-user-setup
 	@${REINPLACE_CMD} -e 's/bash/sh/; s/&//; s/opt\/gnome/usr\/X11R6/;' \
 		${WRKSRC}/scripts/utf8-edit
 	@${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \
--- gcin-1.2.6_1.patch ends here ---

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



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