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
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Sergey Kuleshov <sergey@...>
Subject: Re: Question about dependencies and USE-flags
Date: Thu, 24 Apr 2003 13:45:40 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+p+qRcbJxBGJJn5IRAmQvAJsEllVy7nPcHXc4mOfbFxIpcGjKKQCeMeLQ
1D6/+8VFKVptrLgiS1VF620=
=MjOZ
-----END PGP SIGNATURE-----


--
gentoo-dev@g.o mailing list

Replies:
Re: Question about dependencies and USE-flags
-- Todd Heim
References:
Question about dependencies and USE-flags
-- Jens Hoffrichter
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Question about dependencies and USE-flags
Next by thread:
Re: Question about dependencies and USE-flags
Previous by date:
Question about dependencies and USE-flags
Next by date:
Re: new USE flag: EXIF


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.