ports/122510: shells/zsh cannot disable multibyte support

Jeff Blank jfb at mr-happy.com
Sun Apr 6 17:50:01 UTC 2008


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



More information about the freebsd-ports-bugs mailing list