Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-dev-announce] built_with_use removal
Date: Mon, 25 Jan 2010 00:13:26
In Reply to: [gentoo-dev] Re: [gentoo-dev-announce] built_with_use removal by "Diego Elio “Flameeyes” Pettenò"
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


File name MIME type
signature.asc application/pgp-signature