Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Johan Hattne <johan.hattne@...>
Subject: Re: [prefix][solaris] shell problem in portage/configure
Date: Fri, 4 May 2007 22:42:19 +0200
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


References:
[prefix][solaris] shell problem in portage/configure
-- Michael Haubenwallner
Re: [prefix][solaris] shell problem in portage/configure
-- Fabian Groffen
Re: [prefix][solaris] shell problem in portage/configure
-- Michael Haubenwallner
Re: [prefix][solaris] shell problem in portage/configure
-- Fabian Groffen
Re: [prefix][solaris] shell problem in portage/configure
-- Fabrizio Listello
Re: [prefix][solaris] shell problem in portage/configure
-- Michael Haubenwallner
Re: [prefix][solaris] shell problem in portage/configure
-- Fabian Groffen
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [prefix][solaris] shell problem in portage/configure
Next by thread:
Re: [prefix][solaris] shell problem inportage/configure
Previous by date:
Re: [prefix][aix] shared readline
Next by date:
Re: ebuilds for x86-macos


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.