[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: User patches (Was: Re: [gentoo-dev] Re: [gentoo-commits]
From:       Thomas de Grenier de Latour <tom.gl () free ! fr>
Date:       2008-03-31 19:26:29
Message-ID: 20080331212629.3e128443 () eusebe
[Download RAW message or body]

On 2008/03/31, Vlastimil Babka <caster@gentoo.org> wrote:

> I think that maybe we should first introduce new patching phase and
> then make this user patch really usable feature. For example if you
> want to patch something that's input to running autotools, doing it
> in post_src_unpack is too late...
> 

Not really.  I'm using Ed Catmur's bashrc, and his post_src_unpack hook
for /etc/portage/patches/ can detect when running autotools is needed:
http://sources.catmur.co.uk/viewvc/svn/gentoo/phase_hooks.d/post_src_unpack/portage-patches?view=co
http://catmur.co.uk/gentoo/

Sure, this detection (based on what files are modified) may not work
in all cases.  And when it does, then autotools may fail too (basically
wherever an ebuild writer would have needed to do do more than just
"inherit autotools" before running "eautofoo"). But it's still pretty cool.

-- 
TGL.
-- 
gentoo-dev@lists.gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic