--- On Thu, 3/12/09, bf <bf20...@yahoo.com> wrote: > From: bf <bf20...@yahoo.com> > Subject: Re: shells/bash-4.0 port horribly broken > To: freebsd-ports@FreeBSD.org > Cc: obr...@freebsd.org > Date: Thursday, March 12, 2009, 4:48 PM > Hang on guys, we're looking into it. The upstream > maintainer > confirms that failures in command substitutions are _not_ > the > expected behavior of bash 4.x, that they are not being > observed on > many other systems, and that in the past similar problems > like > this have been connected with problems in bison, so maybe > our use > of system yacc has something to do with it. > > The point about running the testsuite is well-taken. > > b.
Yes, I can confirm on my system (8-CURRENT i386), switching the port from system yacc to bison 2.x solves the command substitution problem. Try the attached patch. b.
diff -ruN bash.orig/Makefile bash/Makefile --- bash.orig/Makefile 2009-03-12 05:54:01.000000000 -0400 +++ bash/Makefile 2009-03-12 16:40:28.539057000 -0400 @@ -3,13 +3,13 @@ # Date created: 30 Jul 2004 # Whom: Oliver Eikemeier # -# $FreeBSD: ports/shells/bash/Makefile,v 1.110 2009/03/12 09:54:01 osa Exp $ +# $FreeBSD: ports/shells/bash/Makefile,v 1.107 2009/03/11 17:00:37 obrien Exp $ # PORTNAME= bash PATCHLEVEL= 10 PORTVERSION= 4.0.${PATCHLEVEL:S/^0//g} -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= shells MASTER_SITES= ${MASTER_SITE_GNU:S/$/:bash/} \ ftp://ftp.cwru.edu/pub/%SUBDIR%/:faq @@ -43,6 +43,7 @@ MAN1= bash.1 bashbug.1 INFO= bash +USE_BISON= yes GNU_CONFIGURE= yes .if !defined(NOPORTDOCS) @@ -91,8 +92,7 @@ LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - YACC="${YACC}" + LDFLAGS="${LDFLAGS}" .include <bsd.port.pre.mk>
_______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"