ports/50620: Update port: chinese/fcitx

Statue statue at freebsd.sinica.edu.tw
Sat Apr 5 12:20:11 UTC 2003


>Number:         50620
>Category:       ports
>Synopsis:       Update port: chinese/fcitx
>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:   Sat Apr 05 04:20:09 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Statue
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
[MAINTAINER]
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #2: Mon Sep 9 10:45:46 CST 2002 ycheng at freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386


	
>Description:
midify tools.c change default locale to zh_CN.EUC
	
>How-To-Repeat:
	
>Fix:

diff -ruN fcitx.orig/Makefile fcitx/Makefile
--- fcitx.orig/Makefile	Sat Apr  5 20:13:13 2003
+++ fcitx/Makefile	Sat Apr  5 20:15:39 2003
@@ -16,13 +16,14 @@
 LIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv
 
 USE_XLIB=	yes
-USE_REINPLACE=  yes
+USE_REINPLACE=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e 's#usr/share#usr/local/share#g' ${WRKSRC}/Makefile ${WRKSRC}/ime.h
 	@${REINPLACE_CMD} -e 's#usr/bin#usr/local/bin#g' ${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e 's#zh_CN.GB2312#zh_CN.EUC#g' ${WRKSRC}/window.c
 	@${REINPLACE_CMD} -e 's#zh_CN.gb2312#zh_CN.EUC#g' ${WRKSRC}/xim.c
+	@${REINPLACE_CMD} -e 's#zh_CN.GBK#zh_CN.EUC#g' ${WRKSRC}/tools.c
 	@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
 		${WRKSRC}/IMdkit/lib/IMConn.c
 
	


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



More information about the freebsd-ports-bugs mailing list