Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 2006 00:41:51 +0800
From:      chinsan <chinsan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105957: [MAINTAINER] chinese/gcin: Respect X11BASE
Message-ID:  <20061128164154.6140A2E9DF@smtp2.bc.hgc.com.tw>
Resent-Message-ID: <200611281650.kASGo5ER099563@freefall.freebsd.org>

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

>Number:         105957
>Category:       ports
>Synopsis:       [MAINTAINER] chinese/gcin: Respect X11BASE
>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:   Tue Nov 28 16:50:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     chinsan
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD chinsan2.twbbs.org 6.1-STABLE FreeBSD 6.1-STABLE #1: Fri Jun  2 16:44:35 CST
>Description:
- Chase the GNOME X11BASE to LOCALBASE move

Noticed by:	krismail, rafan

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

--- gcin-1.2.8_4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/gcin/Makefile /usr/home/chinsan/project/gcin/Makefile
--- /usr/ports/chinese/gcin/Makefile	Wed Nov  1 06:06:24 2006
+++ /usr/home/chinsan/project/gcin/Makefile	Wed Nov 29 00:38:06 2006
@@ -7,7 +7,7 @@
 
 PORTNAME=	gcin
 PORTVERSION=	1.2.8
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	chinese textproc gnome
 MASTER_SITES=	http://www.csie.nctu.edu.tw/~cp76/gcin/download/:main \
 		LOCAL/chinsan:main \
@@ -50,10 +50,15 @@
 		s/\/usr\/share/$$prefix\/share/; 151 s,/gcin,,; \
 		123,124 s/control-center-2\.0/gnome\/control-center-2\.0/g; \
 		s/gcc/$$CC/; s/gcin-$$GCIN_VERSION/gcin/' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's,\/usr\/share,$$(prefix)\/share,' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's,\/usr\/share,$$(prefix)\/share,; \
+		s,/usr/X11R6,${PREFIX},' ${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e 's,qsort,mergesort,' ${WRKSRC}/gcin2tab.c
+	@${REINPLACE_CMD} -e 's,/usr/X11R6,${PREFIX},' \
+		${WRKSRC}/IMdkit/lib/Makefile ${WRKSRC}/IMdkit/Xi18n_sample/Makefile
 	@${REINPLACE_CMD} -e 's|/usr/local|/usr|g' \
 	    	${WRKSRC}/gtk-im/Makefile ${WRKSRC}/menu/Makefile
+	@${REINPLACE_CMD} -e 's,/usr/X11R6,${PREFIX},; \
+		s,/usr/lib,${PREFIX}/lib,' ${WRKSRC}/qt-im/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/;' \
 		${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup
--- gcin-1.2.8_4.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?20061128164154.6140A2E9DF>