On Saturday 29 April 2006 10:12, Mike Frysinger wrote:
On Saturday 29 April 2006 03:08, Alin Nastac wrote:
Carsten Lohrke wrote:
RDEPEND=cvs? ( dev-util/cvs )
svn? ( dev-util/subversion )
!cvs? ( ! svn? ( dev-util/cvs ) )
Huh? How about:
RDEPEND=|| ( dev-util/cvs
Carsten Lohrke wrote:
RDEPEND=cvs? ( dev-util/cvs )
svn? ( dev-util/subversion )
!cvs? ( ! svn? ( dev-util/cvs ) )
Huh? How about:
RDEPEND=|| ( dev-util/cvs dev-util/subversion )
IMO, your example is a USE flag abuse.
signature.asc
Description: OpenPGP digital signature
On Saturday 29 April 2006 03:08, Alin Nastac wrote:
Carsten Lohrke wrote:
RDEPEND=cvs? ( dev-util/cvs )
svn? ( dev-util/subversion )
!cvs? ( ! svn? ( dev-util/cvs ) )
Huh? How about:
RDEPEND=|| ( dev-util/cvs dev-util/subversion )
IMO, your example is a USE flag abuse.
not
On Saturday 29 April 2006 09:08, Alin Nastac wrote:
Huh? How about:
RDEPEND=|| ( dev-util/cvs dev-util/subversion )
Similar problem as with Tuan's version: It's intransparent to the user and he
has no choice, unless he looks into the ebuild. || ( foo bar ) is only an
option, if you have two
Does it make sense to make the value of RDEPEND in an ebuild depend on USE
flags? Example: Im writing an ebuild that use either cvs or svn at
runtime. I want to allow users to choose which one they want but make cvs
the default. What's the best practice for scripting this in an ebuild?
--
Aj
On Friday 28 April 2006 12:57 pm, A. Khattri wrote:
Does it make sense to make the value of RDEPEND in an ebuild depend on USE
flags? Example: Im writing an ebuild that use either cvs or svn at
runtime. I want to allow users to choose which one they want but make cvs
the default. What's the
On Friday 28 April 2006 21:57, A. Khattri wrote:
Does it make sense to make the value of RDEPEND in an ebuild depend on USE
flags? Example: Im writing an ebuild that use either cvs or svn at
runtime. I want to allow users to choose which one they want but make cvs
the default. What's the best
Carsten Lohrke wrote:
RDEPEND=cvs? ( dev-util/cvs )
svn? ( dev-util/subversion )
!cvs? ( ! svn? ( dev-util/cvs ) )
and I also saw something like below without cvs USE flag:
RDEPEND=svn? ( dev-util/subversion ) !svn? ( dev-util/cvs )
--
gentoo-dev@gentoo.org mailing list
On Saturday 29 April 2006 00:02, Tuan Van wrote:
and I also saw something like below without cvs USE flag:
RDEPEND=svn? ( dev-util/subversion ) !svn? ( dev-util/cvs )
Does obviously not work, if you want to have both available. Also enabling cvs
support by disabling svn is not transparent to