1 |
maillog: 13/09/2005-00:50:47(+0200): Stefaan types |
2 |
<snip> |
3 |
> So I'm wondering, what would be a clean solution for this problem? |
4 |
|
5 |
The same way that gtk-1 / gtk-2 goes -- add a bunch of useflags and |
6 |
force the package to use a particular version. :) |
7 |
|
8 |
So for heimdal it becomes: |
9 |
|
10 |
db1? ( sys-libs/db-1* ) |
11 |
!db1? ( db3? ( sys-libs/db-3* ) ) |
12 |
!db1? ( !db3? ( db-4.0? ( sys-libs/db-4.0* ) ) ) |
13 |
... |
14 |
|
15 |
db.eclass anyone? :) |
16 |
|
17 |
After all, it is not only important to make heimdal compile and link |
18 |
properly, you also have to track the proper dependency and only make the |
19 |
package depend on the library that it is linked against. Or is a dep on |
20 |
sys-libs/db going to make the package depend on all slotted versions of |
21 |
db? |
22 |
|
23 |
-- |
24 |
(* Georgi Georgiev (* Thus spake the master programmer: "When a (* |
25 |
*) chutz@×××.net *) program is being tested, it is too late to *) |
26 |
(* +81(90)2877-8845 (* make design changes." -- Geoffrey James, (* |
27 |
*) ------------------- *) "The Tao of Programming" *) |
28 |
-- |
29 |
gentoo-dev@g.o mailing list |