Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
To: Sergey Kuleshov <sergey@...>
From: Todd Heim <heim@g.o>
Subject: Re: Question about dependencies and USE-flags
Date: Thu, 24 Apr 2003 11:14:27 -0400
The way I understood his "can not really  deconfigure" the alternate
gui's was that there were no --enable-x --disable-x.

In the case that they cannot be explicitly disabled, this looks like the
case as offlineimap seems to be a python script, all you can really do
is: RDEPEND="tcltk? ( dev-lang/tcl dev-lang/tk)". (tcltk would be 
runtime dependencies, not compile dependencies) This way, tcl/tk are
only dependencies for users with the tcltk use flag set.

Todd Heim

On Thu, Apr 24, 2003 at 01:45:40PM +0000, Sergey Kuleshov wrote:
> Hi!
> I'm also quite new to this list (and gentoo programming). 
> As far as I understood you, isn't this is what you're looking for:
> IUSE="tcltk"
> DEPEND="tcltk? ( dev-lang/tcl dev-lang/tk)"
> src_compile() {
> ....
>     use tcltk \
>         && myopts="${myopts} --enable-tcl" \
>         || myopts="${myopts} --disable-tcl"
>         #Or whatever options should enable or disable it.
> ....
> }
> On Thursday 24 April 2003 10:20, Jens Hoffrichter wrote:
> > The general ebuild is working, but the tool has several gui's, including
> > a curses gui and a tk gui. But it does not really depends on Tk or curses,
> > because it has fallback to other gui's which do not need specific
> > libraries. But I can not really "deconfigure" the tk-gui or the curses gui,
> > so the use of USE variables seems not to be correctly.
> >
> > To file a dependency against Tk does not seems right, as the package does
> > not really depend on Tk, it just looks nicer. And how I should make use
> > of the USE variable I'm not sure.
> >
> > So I'm asking if someone can guide me how I should mark the
> > "soft-dependencies" in the tool.....
> >
> > CU all,
> > Jens
> - -- 
> Sergey Kuleshov <sergey@...>
> Studio Programer
> Microsoft Certified Professional

gentoo-dev@g.o mailing list

Question about dependencies and USE-flags
-- Jens Hoffrichter
Re: Question about dependencies and USE-flags
-- Sergey Kuleshov
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Question about dependencies and USE-flags
Next by thread:
RFC: deprecating kxicq2, kpopper
Previous by date:
Re: RFC: deprecating kxicq2, kpopper
Next by date:
Re: Fw: [gentoo-user] Gentoo's trouble with /bin/sh

Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.