ports/105955: [PATCH] chinese/gcin: respect X11BASE

Rong-En Fan rafan at FreeBSD.org
Tue Nov 28 16:30:27 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list