On Wed, 17 Sep 2014 03:40:37 +0000 (UTC), James wrote:
> > You can often do it without touching the ebuild at all by putting
>
> > post_src_unpack() {
> > cd "${S}"
> > epatch_user
> > }
>
> > in /etc/portage/env/category/package[-version]
>
> Nice trick to know. But,
> I do not have an /etc/portage/env/ dir?
> Just make them up?Yes. Portage doesn't know which directories you need, just create them when you do. > Or is this the reference: > http://wiki.gentoo.org/wiki//etc/portage/env That's a different, but equally useful, use of /etc/portage/env. > Any docs somewhere as this looks more like a "sets" trick? The functions are explained in man 5 ebuild, /etc/portage is covered in man portage. The rest was gathered by starting at http:///www and working down... -- Neil Bothwick "If Micro built cars, the worlds population would be in decline"
signature.asc
Description: PGP signature

