Gentoo Archives: gentoo-dev

From: Olivier Fisette <ribosome@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] per-package environment variables.
Date: Wed, 01 Sep 2004 19:56:14
Message-Id: 200409011556.12085.ribosome@gentoo.org
In Reply to: Re: [gentoo-dev] per-package environment variables. by Anton Starikov
1 On Wednesday, 1 September, 2004 07:08 am, Anton Starikov wrote:
2 > Anyway, if we going to include both, files and inlined vars, we have to
3 > have a bit complicated parser of lines. In such case we even don't need
4 > [], we can leave as
5 > =app-sci/pymol-0.95* gcc_low_opt CC="gcc"
6 > "=" specify enough that we have inlined expression.
7
8 I don't think so. What if you want to source a bash script containing
9 functions to manipulate variables, such as filtering or replacing CFLAGS?
10 There is no "=" in such a command. If inline is used, we'll need delimiters.
11
12 However, I don't think inline definitions are that important. A first
13 implementation dealing only with "atom [env_file] [...]" in package.env would
14 be enough, certainly.
15
16 --
17 Olivier Fisette (ribosome)
18 Gentoo Developer

Replies

Subject Author
Re: [gentoo-dev] per-package environment variables. Anton Starikov <antst@×××××××.se>
Re: [gentoo-dev] per-package environment variables. Anton Starikov <antst@×××××××.se>