Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Useless USE descriptions...
Date: Thu, 12 Feb 2004 19:37:57
Message-Id: 200402122037.44200.pauldv@gentoo.org
In Reply to: Re: [gentoo-dev] Useless USE descriptions... by Stroller
1 On Thursday 12 February 2004 17:20, Stroller wrote:
2 >
3 > $ cat /usr/portage/app-editors/gvim/gvim-6.2-r5.ebuild
4 > .. DEPEND="${DEPEND}
5 > ~app-editors/vim-core-${PV}
6 > virtual/x11
7 > gtk? ( gtk2? ( >=x11-libs/gtk+-2.1 virtual/xft ) ) :
8 > ( gnome? ( gnome-base/gnome-libs ) :
9 > ( gtk? ( =x11-libs/gtk+-1.2* ) :
10 > ( motif? ( x11-libs/openmotif ) ) ) )"
11 >
12
13 This is actually invalid. gtk+-1.2 will never be used: there are two
14 possibilities: if gtk is in use and if gtk2 is not in use, no dependencies
15 are added. If gtk2 is in use, gtk2 is a dep. If gtk is not in use, and gnome
16 is in use the dep will be on gnome-libs and gtk (as a dep of gnome-libs). If
17 gnome is not in use gtk will still not be in use so either motif is in use
18 and will be depended on or nothing will be depended on.
19
20 Paul
21
22 --
23 Paul de Vrieze
24 Gentoo Developer
25 Mail: pauldv@g.o
26 Homepage: http://www.devrieze.net

Replies

Subject Author
Re: [gentoo-dev] Useless USE descriptions... Aron Griffis <agriffis@g.o>