Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: gnatbuild.eclass
Date: Fri, 12 Oct 2007 06:50:56
Message-Id: 20071012063816.GH23990@supernova
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: gnatbuild.eclass by Steve Long
1 On 07:28 Fri 12 Oct , Steve Long wrote:
2 > Donnie Berkholz wrote:
3 >
4 > > On 18:17 Wed 10 Oct , George Shapovalov (george) wrote:
5 > >> george 07/10/10 18:17:58
6 > >>
7 > >> Modified: gnatbuild.eclass
8 > >>
9 > >> Log: fixed src_install issue, no longer relies on portage leaking
10 > >> env vars between functions
11 > >
12 > > It's really sad that you have to add this workaround.
13 > >
14 > If it's an env var that needs to be set in different phases, it doesn't
15 > sound so bad to me? export or setting vars in the global ebuild scope is
16 > fine imo.
17
18 Portage is supposed to preserve the environment across functions. This
19 workaround is added because that seems to break on a regular basis.
20
21 Thanks,
22 Donnie
23 --
24 gentoo-dev@g.o mailing list