public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mamoru KOMACHI <usata@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] conditional dependencies (was: [gentoo-dev] Summary: Install CD Bloat thread)
Date: Tue, 26 Aug 2003 01:47:11 +0900	[thread overview]
Message-ID: <863cfpbs6o.wl%usata@gentoo.org> (raw)
In-Reply-To: <200308250216.17984.stuart@gentoo.org>

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 <usata@gentoo.org>
http://dev.gentoo.org/~usata/

--
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2003-08-25 17:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-22  0:08 [gentoo-dev] Summary: Install CD Bloat thread Alec Berryman
2003-08-22  4:52 ` Owen Gunden
2003-08-22 10:28 ` Karsten Schulz
2003-08-24 21:09 ` Stuart Herbert
2003-08-24 23:37   ` Georgi Georgiev
2003-08-25  8:59     ` Paul de Vrieze
2003-08-25  9:12       ` Georgi Georgiev
2003-08-25  0:53   ` [gentoo-dev] conditional dependencies (was: [gentoo-dev] Summary: Install CD Bloat thread) Mamoru KOMACHI
2003-08-25  1:16     ` Stuart Herbert
2003-08-25 16:47       ` Mamoru KOMACHI [this message]
2003-08-25  8:57   ` [gentoo-dev] Summary: Install CD Bloat thread Paul de Vrieze
2003-08-25 12:00     ` Stuart Herbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=863cfpbs6o.wl%usata@gentoo.org \
    --to=usata@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox