On Thursday 12 February 2004 17:20, Stroller wrote:
>
> $ cat /usr/portage/app-editors/gvim/gvim-6.2-r5.ebuild
> .. DEPEND="${DEPEND}
> ~app-editors/vim-core-${PV}
> virtual/x11
> gtk? ( gtk2? ( >=x11-libs/gtk+-2.1 virtual/xft ) ) :
> ( gnome? ( gnome-base/gnome-libs ) :
> ( gtk? ( =x11-libs/gtk+-1.2* ) :
> ( motif? ( x11-libs/openmotif ) ) ) )"
>This is actually invalid. gtk+-1.2 will never be used: there are two possibilities: if gtk is in use and if gtk2 is not in use, no dependencies are added. If gtk2 is in use, gtk2 is a dep. If gtk is not in use, and gnome is in use the dep will be on gnome-libs and gtk (as a dep of gnome-libs). If gnome is not in use gtk will still not be in use so either motif is in use and will be depended on or nothing will be depended on. Paul -- Paul de Vrieze Gentoo Developer Mail: [EMAIL PROTECTED] Homepage: http://www.devrieze.net
pgp00000.pgp
Description: signature
