maillog: 13/09/2005-00:50:47(+0200): Stefaan types
<snip>
> So I'm wondering, what would be a clean solution for this problem?

The same way that gtk-1 / gtk-2 goes -- add a bunch of useflags and
force the package to use a particular version. :)

So for heimdal it becomes:

db1? ( sys-libs/db-1* )
!db1? ( db3? ( sys-libs/db-3* ) )
!db1? ( !db3? ( db-4.0? ( sys-libs/db-4.0* ) ) )
...

db.eclass anyone? :)

After all, it is not only important to make heimdal compile and link
properly, you also have to track the proper dependency and only make the
package depend on the library that it is linked against. Or is a dep on
sys-libs/db going to make the package depend on all slotted versions of
db?

-- 
(*   Georgi Georgiev   (* Thus spake the master programmer: "When a    (*
*)    [EMAIL PROTECTED]    *) program is being tested, it is too late to   *)
(*  +81(90)2877-8845   (* make design changes." -- Geoffrey James,     (*
*) ------------------- *) "The Tao of Programming"                     *)
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to