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
On 19-04-2007 17:30:27 +0200, Michael Haubenwallner wrote:
> > And this is the line with the problem:
> > 3756: _dfb_version=$(dfb_version $_dfb_major $_dfb_minor $_dfb_micro)
> >
> > The mplayer configure script uses /bin/sh which is the Bourne shell
> > and not Bourne-again shell.
>
> It is defined that configure-scripts need to work with bourne shells
> (/bin/sh). And "$(foo)" is bash (or ksh) style.
true
> Replacing line 3756 like this should work:
>
> - _dfb_version=$(dfb_version $_dfb_major $_dfb_minor $_dfb_micro)
> + _dfb_version=`dfb_version $_dfb_major $_dfb_minor $_dfb_micro`
agree
> > - # 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.
--
Fabian Groffen
Gentoo on a different level
--
gentoo-alt@g.o mailing list
|
|