Gentoo Archives: gentoo-alt

From: Johan Hattne <johan.hattne@××××××××××××.de>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [prefix][solaris] shell problem in portage/configure
Date: Fri, 04 May 2007 20:44:35
Message-Id: BE7C20D1-B253-40E4-9DED-4DBCAFF1BF2F@embl-hamburg.de
In Reply to: Re: [gentoo-alt] [prefix][solaris] shell problem in portage/configure by Fabian Groffen
On May 4, 2007, at 22:13 , Fabian Groffen wrote:

> On 19-04-2007 17:30:27 +0200, Michael Haubenwallner wrote: >>> - # Solaris /bin/sh fix >>> - if [[ ${CHOST} == *-solaris* ]] ; then >>> - sed -e "s:^#!.*/bin/sh:#!${EPREFIX}/bin/sh:" -i >>> configure >>> - fi >> >> Maybe setting CONFIG_SHELL=${EPREFIX}/bin/bash could work too ? > > Ahhh... anyone have objections on setting this in the profiles? It > would just make any configure package use bash from the prefix, > instead > of /bin/sh, which feels somehow a bit safer, even though it should > work > fine in theory.
This would fix the slight annoyance where the autoconf test for portage-flex crashes due a broken pipe. echo '%%\n%%' | flex breaks with /bin/sh (bash 2.05) but not with portage bash 3.2.15(1). ... even though this is a problem of flex, not bash. It's corrected upstream. // Johan -- gentoo-alt@g.o mailing list