List Archive: gentoo-dev
On Monday 22 September 2008 22:25:20 Petteri Räty wrote:
> > If you mean something like
> >
> > built_with_use cat/foo coolfeature || ewarn "bar will be more useful if you rebuild cat/foo with USE=coolfeature"
> >
> > then you can use
> >
> > has_version 'cat/foo[coolfeature]' || ...
> >
> > instead.
>
> What does this report if cat/foo does not have coolfeature use flag in
> some version? Meaning can this support cases which need --missing true.
False. If for instance coolfeature was made optional in >=pv you can use logic
like:
if has_version '>=cat/foo-pv' && ! has_version 'cat/foo[coolfeature]'; then
ewarn '...'
fi
--
Bo Andresen
|
| Attachment: |
|
signature.asc (This is a digitally signed message part.)
|
|