Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] default RDEPEND?
Date: Tue, 02 May 2006 20:44:03
Message-Id: 200605022239.26127.pauldv@gentoo.org
In Reply to: Re: [gentoo-dev] default RDEPEND? by Mike Frysinger
1 On Saturday 29 April 2006 10:12, Mike Frysinger wrote:
2 > On Saturday 29 April 2006 03:08, Alin Nastac wrote:
3 > > Carsten Lohrke wrote:
4 > > >RDEPEND="cvs? ( dev-util/cvs )
5 > > > svn? ( dev-util/subversion )
6 > > > !cvs? ( ! svn? ( dev-util/cvs ) )"
7 > >
8 > > Huh? How about:
9 > > RDEPEND="|| ( dev-util/cvs dev-util/subversion )"
10 > >
11 > > IMO, your example is a USE flag abuse.
12 >
13 > not really ... if the package were to link against either cvs or svn rather
14 > than just run the binaries, the || () would be incorrect ... the || () for
15 > sure doesnt allow for user control on a system where neither cvs nor svn is
16 > already installed
17
18 These runtime deps are probably not even needed at compile time. This means
19 there is not really a good answer (even not depending could work).
20
21 Paul
22
23 --
24 Paul de Vrieze
25 Gentoo Developer
26 Mail: pauldv@g.o
27 Homepage: http://www.devrieze.net