Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2009 21:25:01 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-ports@freebsd.org
Subject:   Re: ports/139720: shells/bash: fix $() parsing
Message-ID:  <hcq73d$25rp$1@lorvorc.mips.inka.de>
References:  <a5c70e11c424ace1c4f3c44e05f8da2c.squirrel@wettoast.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Jakubik <mikej@rogers.com> wrote:

> It seems that this recent patch introduced a new dependency on bison from
> the ports tree. When i performed an portupgrade of 'bash-4.0.33' to
> 'bash-4.0.33_2' a new dependency for bison appeared.

No, the dependency on bison had already been introduced earlier.
(The update to 4.0.33 was in Makefile revision 1.115.)

----
revision 1.111
date: 2009/03/13 15:54:23;  author: obrien;  state: Exp;  lines: +6 -2
Use Bison in the build instead of byacc.
This fixes the issue of '$()' (for ``) not being parsed correctly.

PR:             101230
Submitted by:   bf2006a@yahoo.com
----

Except that due to the wrong YACC setting the change above didn't
actually do what it was supposed to.

> Was this the intended behavior?

bash 4.0 simply does not build correctly with BSD yacc, it requires
bison.  It would be nice if somebody traced this to a bug in yacc
or bash that could be fixed, but so far nobody has done so, and the
GNU people certainly won't bother.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hcq73d$25rp$1>