>>>>> On Wed, 12 Aug 2015, Ulrich Mueller wrote:

> Hm, how about adding a new PM command like "required_use foo -bar"?
> It would be used exclusively in pkg_pretend, and tell the PM to
> suggest the necessary package.use changes to the user (or even update
> them automatically with the appropriate --autounmask-* option).

To clarify, I'm thinking about something like this:

pkg_pretend() {
    if use qt4; then
        required_use -qt5
    else
        required_use qt5
    fi
}

The advantage would be that any number of elog messages could be added
which would further explain things to the user.

Ulrich

Attachment: pgp6Y2g0jbm_a.pgp
Description: PGP signature

Reply via email to