Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2008 17:40:07 GMT
From:      Jeff Blank <jfb@mr-happy.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122510: shells/zsh cannot disable multibyte support
Message-ID:  <200804061740.m36He7RW081077@www.freebsd.org>
Resent-Message-ID: <200804061750.m36Ho1Ng044859@freefall.freebsd.org>

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

>Number:         122510
>Category:       ports
>Synopsis:       shells/zsh cannot disable multibyte support
>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:   Sun Apr 06 17:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Blank
>Release:        7.0-STABLE
>Organization:
>Environment:
FreeBSD crow.mr-happy.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat Mar  8 17:19:43 EST 2008     root@crow.mr-happy.com:/usr/obj/usr/src/sys/POLLING  amd64
>Description:
The default multibyte configuration of zsh 4.3 has changed since ZSH_MULTIBYTE was added to ${OPTIONS} in shells/zsh/Makefile. Since zsh's default is now to enable multibyte support, the use of ${WITH_ZSH_MULTIBYTE} does not provide for disabling zsh multibyte support.
>How-To-Repeat:
cd /usr/ports/shells/zsh
make config
(ensure that ZSH_MULTIBYTE is deselected; choose "OK" button)
make
(cd to ${WRKDIRPREFIX}, if any)
cd work/zsh-4.3.4
grep MULTIBYTE config.h

'grep' output will indicate that multibyte support is enabled.
>Fix:
attached patch

Patch attached with submission follows:

--- Makefile.orig	2008-02-12 02:27:53.000000000 -0500
+++ Makefile	2008-02-26 10:45:28.001055000 -0500
@@ -102,6 +102,8 @@
 
 .if defined(WITH_ZSH_MULTIBYTE)
 CONFIGURE_ARGS+=	--enable-multibyte
+.else
+CONFIGURE_ARGS+=	--disable-multibyte
 .endif
 
 .if ${OSVERSION} >= 503000


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804061740.m36He7RW081077>