[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] Re: [gentoo-dev-announce] built_with_use removal
From:       Petteri Räty <betelgeuse () gentoo ! org>
Date:       2010-01-24 22:23:57
Message-ID: 4B5CC87D.3020207 () gentoo ! org
[Download RAW message or body]


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" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic