Gentoo Archives: gentoo-devhelp

From: Thomas Kahle <tom111@×××.de>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] ebuild environment
Date: Tue, 11 Aug 2009 20:45:21
Message-Id: 4A81D7C8.5020105@gmx.de
1 Hi,
2
3 I'm having some autotools trouble. In an ebuild I use sed to modify
4 configure.ac with something like
5
6 sed "s/\"-lntl\"/\"-lntl\" \"-lgf2x -lntl\"/" -i "${S}/configure.ac"
7
8 make configure is run by the ebuild after this! If I run configure
9 outside the portage environment this test succeeds with "-lgf2x -lntl"
10 and everything is fine. However, if run from portage the test fails. Now
11 I wonder if I have to do something special. I even used grep and emerge
12 --debug to confirm that the configure script actually has the modified
13 test. It just seems that the library -lgf2x can not be found inside the
14 portage environment.
15
16 Any ideas?
17 Thanks
18 Thomas
19
20
21
22 --
23 Thomas Kahle
24
25 The fundamental theorem of algebra is open source. Like any other
26 mathematical theorem it can be applied free of charge and everybody
27 has access to its proof and can convince himself how it works. Why
28 should software be any different?

Attachments

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

Replies

Subject Author
[gentoo-devhelp] Re: ebuild environment Nikos Chantziaras <realnc@×××××.de>