public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Petteri Räty" <betelgeuse@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: [gentoo-dev-announce] built_with_use removal
Date: Mon, 25 Jan 2010 00:23:57 +0200	[thread overview]
Message-ID: <4B5CC87D.3020207@gentoo.org> (raw)
In-Reply-To: <1264363941.31583.0.camel@yamato>

[-- Attachment #1: Type: text/plain, Size: 868 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

      reply	other threads:[~2010-01-25  0:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-24 16:51 [gentoo-dev] built_with_use removal Petteri Räty
2010-01-24 18:09 ` "Paweł Hajdan, Jr."
2010-01-24 20:16   ` Petteri Räty
2010-01-24 20:12 ` [gentoo-dev] Re: [gentoo-dev-announce] " Diego Elio “Flameeyes” Pettenò
2010-01-24 22:23   ` Petteri Räty [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B5CC87D.3020207@gentoo.org \
    --to=betelgeuse@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox