Gentoo Archives: gentoo-alt

From: Alan Hourihane <alanh@×××××××××××××××××.uk>
To: gentoo-alt <gentoo-alt@l.g.o>
Subject: [gentoo-alt] gnuconfig.eclass problem
Date: Tue, 15 Apr 2008 22:18:48
Message-Id: 1208297912.12638.124.camel@jetpack.demon.co.uk
1 I'm trying to build gcc in my prefix, but it's always picking up
2 automake-1.7 from /usr/share and not the latest from my
3 ${EPREFIX}/usr/share directory.
4
5 I spotted the following in gnuconfig.eclass....
6
7 # this searches the standard locations for the newest config.{sub|
8 guess}, and
9 # returns the directory where they can be found.
10 gnuconfig_findnewest() {
11 local locations="
12 /usr/share/gnuconfig/config.sub
13 /usr/share/automake-1.9/config.sub
14 /usr/share/automake-1.8/config.sub
15 /usr/share/automake-1.7/config.sub
16 /usr/share/automake-1.6/config.sub
17 /usr/share/automake-1.5/config.sub
18 /usr/share/automake-1.4/config.sub
19 /usr/share/libtool/config.sub
20 "
21 grep -s '^timestamp' ${locations} | sort -n -t\' -k2 | tail -n 1
22 | sed 's,/config.sub:.*$,,'
23 }
24
25 Shouldn't the above have the ${EPREFIX} added somehow?
26
27 Alan.
28
29 --
30 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] gnuconfig.eclass problem Fabian Groffen <grobian@g.o>
Re: [gentoo-alt] gnuconfig.eclass problem Fabian Groffen <grobian@g.o>