Gentoo Archives: gentoo-devhelp

From: Thomas Kahle <tom111@×××.de>
To: gentoo-devhelp@l.g.o
Subject: Re: [gentoo-devhelp] Re: ebuild environment
Date: Tue, 11 Aug 2009 21:15:05
Message-Id: 4A81DEC9.901@gmx.de
In Reply to: Re: [gentoo-devhelp] Re: ebuild environment by Thomas Kahle
1 Thomas Kahle wrote:
2 > Nikos Chantziaras wrote:
3 >> On 08/11/2009 11:42 PM, Thomas Kahle wrote:
4 >>> Hi,
5 >>>
6 >>> I'm having some autotools trouble.
7
8 Ok, got it. It is an "--as-needed" thing. Now god, help me with this...
9
10
11 In an ebuild I use sed to modify
12 >>> configure.ac with something like
13 >>>
14 >>> sed "s/\"-lntl\"/\"-lntl\" \"-lgf2x -lntl\"/" -i "${S}/configure.ac"
15 >>>
16 >>> make configure is run by the ebuild after this!
17 >> "make configure"? Don't you need eautoreconf?
18 > I dont know. I suppose not. How this package is supposed to be compiled is:
19 >
20 > make configure
21 > configure
22 > make
23 > make install
24 >
25 > since I do the sed'ing of configure.ac before 'make configure' (which
26 > created 'configure' script in the first place) I assume that eautoreconf
27 > is not needed. I still tried it in 'various places' but no success. Let
28 > me say again that I checked that the configure script is actually
29 > modified and running the parts of the ebuild outside of portage works as
30 > it should.
31 >
32
33
34 --
35 Thomas Kahle
36
37 The fundamental theorem of algebra is open source. Like any other
38 mathematical theorem it can be applied free of charge and everybody
39 has access to its proof and can convince himself how it works. Why
40 should software be any different?

Attachments

File name MIME type
signature.asc application/pgp-signature