Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] gnuconfig.eclass problem
Date: Wed, 16 Apr 2008 08:00:22
Message-Id: 20080416080018.GH19983@gentoo.org
In Reply to: [gentoo-alt] gnuconfig.eclass problem by Alan Hourihane
1 On 15-04-2008 23:18:32 +0100, Alan Hourihane wrote:
2 > I'm trying to build gcc in my prefix, but it's always picking up
3 > automake-1.7 from /usr/share and not the latest from my
4 > ${EPREFIX}/usr/share directory.
5 >
6 > I spotted the following in gnuconfig.eclass....
7 >
8 > # this searches the standard locations for the newest config.{sub|
9 > guess}, and
10 > # returns the directory where they can be found.
11 > gnuconfig_findnewest() {
12 > local locations="
13 > /usr/share/gnuconfig/config.sub
14 > /usr/share/automake-1.9/config.sub
15 > /usr/share/automake-1.8/config.sub
16 > /usr/share/automake-1.7/config.sub
17 > /usr/share/automake-1.6/config.sub
18 > /usr/share/automake-1.5/config.sub
19 > /usr/share/automake-1.4/config.sub
20 > /usr/share/libtool/config.sub
21 > "
22 > grep -s '^timestamp' ${locations} | sort -n -t\' -k2 | tail -n 1
23 > | sed 's,/config.sub:.*$,,'
24 > }
25 >
26 > Shouldn't the above have the ${EPREFIX} added somehow?
27
28 Looks like a big screwup indeed... Thanks!
29
30
31 --
32 Fabian Groffen
33 Gentoo on a different level
34 --
35 gentoo-alt@l.g.o mailing list