2009/3/9 Christian Faulhammer <fa...@gentoo.org>:
>
>  I don't know if there is a bug somewhere (I did not find one), but
> what about having the possibility to ask for one out many USE flags of
> a dependency.  For example app-misc/gramps needs dev-lang/python with
> USE=berkdb or USE=sqlite, but Portage won't tell the user that he can
> enable one but always asks for the first in the || () string.
>

|| ( dev-lang/python[berkdb] dev-lang/python[sqlite] )

I had a similar case recently and detected another problem if you try
to switch from one possibility to the other.

Say you have python with berkdb compiled to satisfy the dependency and
then set "dev-lang/python -berkdb sqlite" in package.use. After this
world dependency calculation will fail.

The only way I found to get around this is to recompile python with
the new use flags first. Afterwards dependency calculation succeeds.

-- 
Regards,
Daniel

Reply via email to