From owner-freebsd-ports Thu Mar 2 4:40: 5 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C6FAD37BF46 for ; Thu, 2 Mar 2000 04:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA77327; Thu, 2 Mar 2000 04:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from kfug.kr.freebsd.org (bolero.snu.ac.kr [147.46.102.39]) by hub.freebsd.org (Postfix) with ESMTP id 3FC4D37BF22 for ; Thu, 2 Mar 2000 04:39:30 -0800 (PST) (envelope-from cjh@kr.FreeBSD.ORG) Received: (from cjh@localhost) by kfug.kr.freebsd.org (8.8.8/8.8.8) id VAA01160; Thu, 2 Mar 2000 21:39:24 +0900 (KST) (envelope-from cjh) Message-Id: <200003021239.VAA01160@kfug.kr.freebsd.org> Date: Thu, 2 Mar 2000 21:39:24 +0900 (KST) From: cjh@wdb.co.kr Reply-To: cjh@kr.FreeBSD.ORG To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/17127: Ports fix: editors/vim5 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17127 >Category: ports >Synopsis: Ports fix: editors/vim5 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 2 04:40:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: CHOI Junho >Release: FreeBSD 3.4-STABLE i386 >Organization: Web Data Bank Co. >Environment: FreeBSD gradius.myhome 3.4-STABLE FreeBSD 3.4-STABLE #0: Thu Mar 2 01:17:54 GMT 2000 root@gradius.myhome:/usr/src/sys/compile/GRADIUS i386 >Description: This is a suggestion/fix for editors/vim5 port. After vim 5.x, multibyte enabling feature is depending on LANG variable and success of setlocale(). If vim binary doesn't link with -lxpg4, multibyte locale such as ko_KR.EUC or ja_JP.EUC doesn't affect vim5 so multibyte enabling(editing) feature still can't be used although vim5 is compiled with --enable-multibyte. >How-To-Repeat: Edit some multilingual(e.g. Korean) text using current vim5. env LANG=ko_KR.EUC vim korean-test.txt Test with move cursors in the text. the cursor moves by byte, not character position. Rebuild vim5 with this patch, do the same thing. Now the cursor moves by character. If this patch is adopted, korean/vim ports can be removed. >Fix: diff -uNr /usr/ports/editors/vim5/Makefile ./Makefile --- /usr/ports/editors/vim5/Makefile Wed Mar 1 10:10:05 2000 +++ ./Makefile Thu Mar 2 21:20:43 2000 @@ -39,7 +39,7 @@ DIST_SUBDIR= vim WRKSRC= ${WRKDIR}/${DISTNAME}/src PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} --forward --quiet -E ${PATCH_DIST_STRIP} -MAKE_FLAGS= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib" -f +MAKE_FLAGS= LIBS="-lxpg4" CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib" -f ALL_TARGET= # PLIST_SUB= VIM_VER=${DISTNAME:S/-//:S/.//} MAN1= vim.1 vimtutor.1 xxd.1 ectags.1 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message