Gentoo Archives: gentoo-dev

From: Brian Jackson <iggy@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] question on writing ebuilds with exclusive dependencies.
Date: Wed, 07 Apr 2004 20:22:26
Message-Id: 200404071526.05254.iggy@gentoo.org
In Reply to: Re: [gentoo-dev] question on writing ebuilds with exclusive dependencies. by Paul de Vrieze
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Wednesday 07 April 2004 15:05, Paul de Vrieze wrote:
5 > On Wednesday 07 April 2004 21:06, Corvus Corax wrote:
6 > > Am Wed, 7 Apr 2004 17:24:53 +0200
7 > >
8 > > schrieb Corvus Corax <corvus-ml@×××××××××××.com>:
9 > > > i plan writing an ebuild for my little software project, motiontrack,
10 > > > (motiontrack.sf.net) which needs an image I/O library, either libGD or
11 > > > ImageMagick to compile.
12 > >
13 > > thank you all for your comments :-)
14 > >
15 > > I have submitted the ebuild to bugs.gentoo.org, hope the approach is
16 >
17 > apropriate:
18 > > > DEPEND="libgd? ( media-libs/libgd )
19 > > > imagemagick? ( media-gfx/imagemagick ) : ( media-libs/libgd )"
20 >
21 > Unfortunately it is not. It will depend on both libraries if both useflags
22 > are present. The best approach probably is:
23 > DEPEND="imagemagick? ( libgd? ( media-libs/libgd ) : media-gfx/imagemagick
24 > ) : ( media-libgs/libgd? )"
25
26 Even then the ? : syntax is deprecated, so don't use it.
27
28 - --Iggy
29
30 >
31 > Paul
32
33 - --
34 http://www.brianandsara.net
35 For Sale : http://www.brianandsara.net/temp/forsale.php
36 -----BEGIN PGP SIGNATURE-----
37 Version: GnuPG v1.2.4 (GNU/Linux)
38
39 iD8DBQFAdGPb+cPN+Z7qK9cRAiJkAKDDjOkccut8iP3BegFaam3sn31qHQCfYqrR
40 kQFcJ5+mR/Tk2f6YXLvo4BM=
41 =JFiM
42 -----END PGP SIGNATURE-----
43
44 --
45 gentoo-dev@g.o mailing list