From nobody@FreeBSD.org  Sun Apr  6 17:40:19 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2A58410656C2
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  6 Apr 2008 17:40:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 101658FC1E
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  6 Apr 2008 17:40:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m36He7D7081078
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 6 Apr 2008 17:40:07 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m36He7RW081077;
	Sun, 6 Apr 2008 17:40:07 GMT
	(envelope-from nobody)
Message-Id: <200804061740.m36He7RW081077@www.freebsd.org>
Date: Sun, 6 Apr 2008 17:40:07 GMT
From: Jeff Blank <jfb@mr-happy.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: shells/zsh cannot disable multibyte support
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         122510
>Category:       ports
>Synopsis:       shells/zsh cannot disable multibyte support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 06 17:50:01 UTC 2008
>Closed-Date:    Fri Jun 06 11:31:57 UTC 2008
>Last-Modified:  Fri Jun  6 11:40:02 UTC 2008
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->des 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Apr 6 17:50:11 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122510 
State-Changed-From-To: open->closed 
State-Changed-By: des 
State-Changed-When: Fri Jun 6 11:31:56 UTC 2008 
State-Changed-Why:  
Patch committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122510 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/122510: commit references a PR
Date: Fri,  6 Jun 2008 11:32:02 +0000 (UTC)

 des         2008-06-06 11:31:53 UTC
 
   FreeBSD ports repository
 
   Modified files:
     shells/zsh           Makefile 
   Log:
   Explicitly disable multibyte support if the user doesn't want it.
   
   PR:             ports/122510
   Submitted by:   Jeff Blank <jfb@mr-happy.com>
   
   Revision  Changes    Path
   1.96      +3 -1      ports/shells/zsh/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
