On 01/24/2010 10:12 PM, Diego Elio “Flameeyes” Pettenò wrote:
> Il giorno dom, 24/01/2010 alle 18.51 +0200, Petteri Räty ha scritto:
>>
>> There should be no legitimate reason for the number to go up so please
>> whenever bumping ebuilds, remove the usage of built_with_use.
>
> There is still legitimate use when you're not using it for dependencies.
>
> See for instance PulseAudio ebuild:
>
> local pkg="media-plugins/alsa-plugins"
> if has_version ${pkg} && ! built_with_use --missing false ${pkg}
> pulseaudio; then
> elog
> elog "You have alsa support enabled so you probably want to
> install"
> elog "${pkg} with pulseaudio support to have"
> elog "alsa using applications route their sound through
> pulseaudio"
> fi
>
>
Use EAPI 2 and has_version ${pkg}[use]
Regards,
Petteri
signature.asc
Description: OpenPGP digital signature
