Re: Portage per-package environment/behavior
Sven Vermeulen <[email protected]> Thu, 29 Dec 2011 18:18:07 +0000
| Newsgroups | gmane.linux.gentoo.documentation |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Dec 28, 2011 at 11:14:49AM +0100, Sven Vermeulen wrote: > 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: http://dev.gentoo.org/~swift/docs/previews/hb-portage-advanced.xml Ideas? Thoughts? Wkr, Sven Vermeulen