Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Re: "official way" for setting per package CFLAGS and FEATURES?
Date: Mon, 20 Jul 2009 19:15:30
Message-Id: 4A64C19B.80304@gentoo.org
In Reply to: [gentoo-portage-dev] Re: "official way" for setting per package CFLAGS and FEATURES? by Duncan <1i5t5.duncan@cox.net>
1 Duncan wrote:
2 > Zac Medico <zmedico@g.o> posted 4A638016.3040602@g.o,
3 > excerpted below, on Sun, 19 Jul 2009 13:20:38 -0700:
4 >
5 >> Pacho Ramos wrote:
6 >>> Hello, I would want to always merge xorg-server, libdrm, and intel
7 >>> driver (that likes to crash a lot) to be always compiled with debugging
8 >>> symbols and FEATURES="${FEATURES} splitdebug"
9 >
10 >> I use pre_pkg_setup hooks defined in /etc/portage/env.
11 >
12 > Does /etc/portage/env work for the python part of portage yet, or just
13 > the ebuild.sh layer?
14
15 It only works for ebuild.sh since it's implemented via
16 $PORTDIR/profiles/base/profile.bashrc. Support for the python part
17 hasn't been merged yet, but there's a good patch which I've
18 commented on here:
19
20 http://bugs.gentoo.org/show_bug.cgi?id=44796#c64
21
22 --
23 Thanks,
24 Zac

Replies