Gentoo Archives: gentoo-portage-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] Re: "official way" for setting per package CFLAGS and FEATURES?
Date: Mon, 20 Jul 2009 22:20:36
Message-Id: pan.2009.07.20.22.20.11@cox.net
In Reply to: Re: [gentoo-portage-dev] Re: "official way" for setting per package CFLAGS and FEATURES? by Zac Medico
1 Zac Medico <zmedico@g.o> posted 4A64C19B.80304@g.o,
2 excerpted below, on Mon, 20 Jul 2009 12:12:27 -0700:
3
4 > Duncan wrote:
5 >>
6 >> Does /etc/portage/env work for the python part of portage yet, or just
7 >> the ebuild.sh layer?
8 >
9 > It only works for ebuild.sh since it's implemented via
10 > $PORTDIR/profiles/base/profile.bashrc. Support for the python part
11 > hasn't been merged yet, but there's a good patch which I've commented on
12 > here:
13 >
14 > http://bugs.gentoo.org/show_bug.cgi?id=44796#c64
15
16 Thanks. I had known such a thing was possible but didn't realize there
17 was a patch already available and (apparently) in active discussion and
18 merge consideration. That's very cool and I'm certainly looking forward
19 to it. =:^)
20
21 It shouldn't have surprised me, tho. Portage is very flexible in regard
22 to what a bit of hacking can make it do, and there's a lot of folks
23 actively involved in bending it to their will for all sorts of unusual
24 and even unique situations. So that a patch exists to bend it in this
25 particular direction really shouldn't be surprising at all. But that
26 it's being considered right now for mainline inclusion is nice. =:^)
27
28 --
29 Duncan - List replies preferred. No HTML msgs.
30 "Every nonfree program has a lord, a master --
31 and if you use the program, he is your master." Richard Stallman