Gentoo Archives: gentoo-embedded

From: Mike Frysinger <vapier@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] writing a autoconf script that works with uclibc (CHOST)
Date: Wed, 11 Aug 2004 16:01:33
Message-Id: 200408111202.09635.vapier@gentoo.org
In Reply to: [gentoo-embedded] writing a autoconf script that works with uclibc (CHOST) by Natanael Copa
1 On Wednesday 11 August 2004 11:13 am, Natanael Copa wrote:
2 > (why does it take so long for gentoo people to import it? For the
3 > freebsd ppl it took just a few days, even if they had to patch alot.
4 > http://www.freshports.org/dns/dnrd/)
5
6 freebsd has more developers ?
7
8 > But there is something fundamental wrong in my configure.in file.
9
10 there's nothing wrong with your configure.in file ... the config.{sub,guess}
11 you packaged with the released tarball are bum ...
12
13 you have two choices to handle this:
14 (1) do you really need the CANONICAL_SYSTEM directive ? you use $host_os later
15 so i guess you dont have a choice ;)
16 (2) in the ebuild, add this:
17 inherit gnuconfig
18 src_unpack() {
19 unpack ${A}
20 gnuconfig_update
21 }
22
23 then everything should flow smoothly
24
25 --
26 gentoo-embedded@g.o mailing list