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