1 |
On Wed, Sep 01, 2004 at 01:08:11PM +0200, Anton Starikov wrote: |
2 |
> Olivier Fisette wrote: |
3 |
> >If we wanted to make things even easier to configure, we could have |
4 |
> >something like the following in "/etc/portage/package.env": |
5 |
> > |
6 |
> >=app-sci/pymol-0.95* [ CC="gcc" CFLAGS="-O1" ] |
7 |
> > |
8 |
> >... were a keyword is replaced by a delimited short bash script that would |
9 |
> >be sourced to provide per package env vars. This would avoid having to |
10 |
> >create files in "/etc/portage/env.d" which target only one package. |
11 |
> Anyway, if we going to include both, files and inlined vars, we have to |
12 |
> have a bit complicated parser of lines. In such case we even don't need |
13 |
> [], we can leave as |
14 |
> =app-sci/pymol-0.95* gcc_low_opt CC="gcc" |
15 |
> "=" specify enough that we have inlined expression. |
16 |
So you want to take out those of us that have strange filenames? |
17 |
I'd say the inlined case shouldn't be used, but the general idea here is |
18 |
a good one. |
19 |
|
20 |
The format definetly should be: |
21 |
atom list_of_files |
22 |
As that is the only non-ambiguous way of doing it. |
23 |
|
24 |
See bug #51552 for more on environment variables in portage. |
25 |
|
26 |
-- |
27 |
Robin Hugh Johnson |
28 |
E-Mail : robbat2@××××××××××××××.net |
29 |
Home Page : http://www.orbis-terrarum.net/?l=people.robbat2 |
30 |
ICQ# : 30269588 or 41961639 |
31 |
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 |