Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Global ebuild variables and pkg_setup
Date: Thu, 22 Feb 2007 00:17:05
Message-Id: 200702211909.50913.vapier@gentoo.org
In Reply to: [gentoo-dev] Global ebuild variables and pkg_setup by Ciaran McCreesh
1 On Wednesday 21 February 2007, Ciaran McCreesh wrote:
2 > A number of ebuilds do things like this:
3 > inherit foo
4 > VAR="${FOO_VAR}"
5 > where foo.eclass looks like this:
6 > foo_pkg_setup()
7 > export FOO_VAR=baz
8 >
9 > Is this something that has to work (at the expense of never allowing
10 > eclass removal in the future), or is it a fluke and are ebuilds that
11 > use it broken?
12
13 flawed logic and env pollution is why this exists; cut it
14 -mike