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

List:       gentoo-dev
Subject:    Re: [gentoo-dev] ELT-patches from overlay?
From:       Mike Frysinger <vapier () gentoo ! org>
Date:       2015-05-12 15:34:32
Message-ID: 20150512153432.GB22975 () vapier
[Download RAW message or body]


On 11 May 2015 22:44, Benda Xu wrote:
> In libtool.eclass[1], it is mentioned in the comments of elt_patch_dir()
> that
> 
> # If an overlay has eclass overrides, but doesn't actually override the
> # libtool.eclass, we'll have ECLASSDIR pointing to the active overlay's
> # eclass/ dir, but libtool.eclass is still in the main Gentoo tree.  So
> # add a check to locate the ELT-patches/ regardless of what's going on.
> 
> 
> But quoting from PMS[2], "ECLASSDIR: The full path to the master
> repository's eclass directory", ECLASSDIR always points to
> ${PORTDIR}/eclass, regardless how the repos.conf is configured.
> 
> 
> Thus as long as ELT-patches dir of the gx86 tree exists, there is no way
> to tell libtool.eclass to use it in my overlay.

that's the point of the change -- to locate ELT-patches that matches the 
libtool.eclass regardless of what the overlay is doing.  the intention was not 
to support local sets of ELT-patches while still using the libtool.eclass from 
elsewhere.  see the bug referenced in the commit:
	https://bugs.gentoo.org/389009

if you duplicate libtool.eclass in your overlay, it should find ELT-patches 
there.  considering libtool.eclass is pretty tightly coupled to the contents of 
that dir, i'm not sure supporting overlays is desirable.
-mike

["signature.asc" (application/pgp-signature)]

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

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