Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: qt.eclass
Date: Fri, 01 Jul 2005 09:21:06
Message-Id: 200507011118.48551.pauldv@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: qt.eclass by Thomas de Grenier de Latour
1 On Thursday 30 June 2005 22:01, Thomas de Grenier de Latour wrote:
2 > On Thu, 30 Jun 2005 14:33:04 -0500
3 >
4 > Caleb Tennis <caleb@g.o> wrote:
5 > > $(qt_min_version 3.3) == "|| ( =x11-libs/qt-3.3.3
6 > > =x11-libs/qt-3.3.3-r1 =x11-libs/qt-3.3.3-r2
7 > > =x11-libs/qt-3.3.3-r3 =x11-libs/qt-3.3.4 )
8 >
9 > It seems that portage evaluates disjonction left to right and
10 > stops on the first match it founds. Thus, if you want want it to
11 > choose the best matching version, you should rather sort them in
12 > decreasing order. (At least, that's what a small test with CVS
13 > HEAD shows here.)
14
15 Worst, when none of the candidates is installed, it will install the first
16 one.
17
18 Paul
19
20 --
21 Paul de Vrieze
22 Gentoo Developer
23 Mail: pauldv@g.o
24 Homepage: http://www.devrieze.net