1 |
On Wed, 2008-04-16 at 10:15 +0200, Fabian Groffen wrote: |
2 |
> On 15-04-2008 23:18:32 +0100, Alan Hourihane wrote: |
3 |
> > I'm trying to build gcc in my prefix, but it's always picking up |
4 |
> > automake-1.7 from /usr/share and not the latest from my |
5 |
> > ${EPREFIX}/usr/share directory. |
6 |
> > |
7 |
> > I spotted the following in gnuconfig.eclass.... |
8 |
> |
9 |
> Weird actually, since gnuconfig is declared "DEAD", reason: portage has |
10 |
> it integrated... |
11 |
|
12 |
I thought so too, but it's not. |
13 |
|
14 |
> > # this searches the standard locations for the newest config.{sub| |
15 |
> > guess}, and |
16 |
> > # returns the directory where they can be found. |
17 |
> > gnuconfig_findnewest() { |
18 |
> > local locations=" |
19 |
> > /usr/share/gnuconfig/config.sub |
20 |
> > /usr/share/automake-1.9/config.sub |
21 |
> > /usr/share/automake-1.8/config.sub |
22 |
> > /usr/share/automake-1.7/config.sub |
23 |
> > /usr/share/automake-1.6/config.sub |
24 |
> > /usr/share/automake-1.5/config.sub |
25 |
> > /usr/share/automake-1.4/config.sub |
26 |
> > /usr/share/libtool/config.sub |
27 |
> > " |
28 |
> |
29 |
> On a second thought, this list is also far from up-to-date, so I doubt |
30 |
> it is used currently. |
31 |
|
32 |
It really is, honestly. |
33 |
|
34 |
> > grep -s '^timestamp' ${locations} | sort -n -t\' -k2 | tail -n 1 |
35 |
> > | sed 's,/config.sub:.*$,,' |
36 |
> > } |
37 |
> > |
38 |
> > Shouldn't the above have the ${EPREFIX} added somehow? |
39 |
> |
40 |
> That won't hurt in any case. |
41 |
|
42 |
Look at toolchain.eclass and toolchain-binutils.eclass and it calls |
43 |
gnuconfig_update which comes back to this function above. |
44 |
|
45 |
So it really needs fixing and updating. |
46 |
|
47 |
Alan. |
48 |
|
49 |
-- |
50 |
gentoo-alt@l.g.o mailing list |