Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 2006 00:29:51 +0800 (CST)
From:      Rong-En Fan <rafan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        chinsan@FreeBSD.org
Subject:   ports/105955: [PATCH] chinese/gcin: respect X11BASE
Message-ID:  <200611281629.kASGTpAr057586@svm.csie.ntu.edu.tw>
Resent-Message-ID: <200611281630.kASGUPoK088744@freefall.freebsd.org>

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

>Number:         105955
>Category:       ports
>Synopsis:       [PATCH] chinese/gcin: respect X11BASE
>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 Nov 28 16:30:25 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 6.2-PRERELEASE amd64
>Organization:
NTU CSIE
>Environment:
>Description:
- Respect X11BASE

Port maintainer (chinsan@FreeBSD.org) is cc'd.

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

--- zh-gcin-1.2.8_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /big/freebsd-cvsup/ncvs/ports/chinese/gcin/Makefile,v
retrieving revision 1.68
diff -u -u -r1.68 Makefile
--- Makefile	31 Oct 2006 06:02:23 -0000	1.68
+++ Makefile	28 Nov 2006 16:29:27 -0000
@@ -55,11 +55,17 @@
 	@${REINPLACE_CMD} -e 's|/usr/local|/usr|g' \
 	    	${WRKSRC}/gtk-im/Makefile ${WRKSRC}/menu/Makefile
 	@${REINPLACE_CMD} -e 's/modify-XIM //; 8,10 d' ${WRKSRC}/scripts/Makefile
-	@${REINPLACE_CMD} -e 's/bash/sh/; s/&//; s/opt\/gnome/usr\/X11R6/;' \
+	@${REINPLACE_CMD} -e 's/bash/sh/; s/&//; s,/opt/gnome,${X11BASE},;' \
 		${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup
 	@${REINPLACE_CMD} -e 's,wget,fetch,' ${WRKSRC}/scripts/noseeing-inst
 	@${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \
 		${WRKSRC}/gtk-im/gtkimcontextgcin.c
+	@${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},' \
+		${WRKSRC}/IMdkit/lib/Makefile \
+		${WRKSRC}/Makefile \
+		${WRKSRC}/qt-im/Makefile \
+		${WRKSRC}/scripts/modify-XIM \
+		${WRKSRC}/scripts/utf8-edit
 
 .if defined(WITH_BOSHIAMY)
 post-patch:
--- zh-gcin-1.2.8_3.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?200611281629.kASGTpAr057586>