Gentoo Archives: gentoo-dev

From: George Shapovalov <george@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] client+server packages - build which one?
Date: Fri, 09 Jun 2006 14:02:43
Message-Id: 200606091555.32573.george@gentoo.org
In Reply to: [gentoo-dev] client+server packages - build which one? by Roy Marples
1 п'ятниця, 9. червень 2006 15:10, Roy Marples Ви написали:
2 > Some packages provide both a client and a server. As such, users usually
3 > only want one or the other - and rarely both.
4 [skip]
5 > USE client server
6 > client - just build the client - duh
7 > server - just build the server - duh
8 > client and server OR neither then build both.
9 The problem with this approach is when you have dependencies on a particular
10 client or server. Then you cannot sipy depend on a package (with present
11 portage) and instead you need to do a hackery detection and bail out in
12 pkg_setup. I think this is the reason why, for example, bind comes as two
13 packages: bind (for everything) and bind-tools.
14
15 Of course this multiplies the number of packages to support, if such situation
16 is common. However the solution you describe can be considered "clean" only
17 after #2272 is finally resolved..
18 https://bugs.gentoo.org/show_bug.cgi?id=2272
19
20 George
21
22 --
23 gentoo-dev@g.o mailing list