swift at gentoo
Dec 29, 2011, 10:18 AM
On Wed, Dec 28, 2011 at 11:14:49AM +0100, Sven Vermeulen wrote:
Re: Portage per-package environment/behavior
[In reply to]
> I noticed we don't describe in the handbook that Portage can have
> per-package environment variables (like CFLAGS) through /etc/portage/env.
> This can be even (ab?)used to execute steps before or after specific phases
> (based on the EBUILD_PHASE information), something I use for updating IDS
> systems (postinst/prerm phase).
So, considering the idea of having a section added to "Working with Portage"
called "Advanced Portage Features", this is what it could look like: