Gentoo Archives: gentoo-dev

From: Chris Gianelloni <wolf31o2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] client/server policy for ebuilds
Date: Sat, 10 Jun 2006 23:45:55
Message-Id: 1149949929.31664.60.camel@vertigo.twi-31o2.org
In Reply to: Re: [gentoo-dev] [RFC] client/server policy for ebuilds by Roy Marples
1 On Sat, 2006-06-10 at 01:24 +0100, Roy Marples wrote:
2 > Do we read -client -server and +client +server to mean the same thing?
3
4 We could, yes.
5
6 > If so the logic can read
7 >
8 > if use client || ! use server ; then
9 > # build client
10 > fi
11 > if use server || ! use client ; then
12 > # build server
13 > fi
14 >
15 > How does portage stop us from doing that now?
16
17 It doesn't. The problem comes in with the dependency resolver. The
18 only solution to this is checks using built_with_use in pkg_setup, which
19 is discouraged except where absolutely necessary, as it causes all of
20 the dependencies to be merged (incorrectly, possibly) before there is a
21 failure.
22
23 --
24 Chris Gianelloni
25 Release Engineering - Strategic Lead
26 x86 Architecture Team
27 Games - Developer
28 Gentoo Linux

Attachments

File name MIME type
signature.asc application/pgp-signature