At Mon, 25 Aug 2003 02:16:13 +0100,
Stuart Herbert wrote:

> Must be because eclasses can and do add their own dependencies;
> having optional inherits would really make a mess of the metacache I
> guess.

I found a workaround to deal with that problem (but not sure this is
the right way to do it).  Eclasses silently add E_*DEPEND and emerge
seems to catch dependencies not only from *DEPEND but also from
E_*DEPEND, so you may want to write


inherit elisp

E_DEPEND="emacs? ( ${E_DEPEND} )"
E_RDEPEND="emacs? ( ${E_RDEPEND} )"
DEPEND="[...]"


to turn off emacs dependency when USE="-emacs".  This way, metacache
will not be messed up.


regards,

-- 
Mamoru KOMACHI <[EMAIL PROTECTED]>
http://dev.gentoo.org/~usata/

--
gentoo-dev@gentoo.org mailing list

Reply via email to