public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] how get flag from emerge apps
@ 2005-10-26  5:43 Norguhtar
  2005-10-26 13:17 ` Mike Frysinger
  0 siblings, 1 reply; 3+ messages in thread
From: Norguhtar @ 2005-10-26  5:43 UTC (permalink / raw
  To: gentoo-dev

I'm read ebuild HOWTO but not found solution for this:

http://bugs.gentoo.org/show_bug.cgi?id=110171

How obtain USE flags from emerged apps? But when i'm changed flags end 
emerge -vp package, emerge report about change in flags and highlited 
flag at green.
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] how get flag from emerge apps
  2005-10-26  5:43 [gentoo-dev] how get flag from emerge apps Norguhtar
@ 2005-10-26 13:17 ` Mike Frysinger
  2005-10-26 13:26   ` Norguhtar
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Frysinger @ 2005-10-26 13:17 UTC (permalink / raw
  To: gentoo-dev

On Wed, Oct 26, 2005 at 11:43:39AM +0600, Norguhtar wrote:
> http://bugs.gentoo.org/show_bug.cgi?id=110171
> 
> How obtain USE flags from emerged apps? But when i'm changed flags end 
> emerge -vp package, emerge report about change in flags and highlited 
> flag at green.

inherit eutils
...
if ! built_with_use virtual/php gd ; then
	eerror "Rebuild php with USE=gd"
	die "we require gd in php"
fi
-mike
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] how get flag from emerge apps
  2005-10-26 13:17 ` Mike Frysinger
@ 2005-10-26 13:26   ` Norguhtar
  0 siblings, 0 replies; 3+ messages in thread
From: Norguhtar @ 2005-10-26 13:26 UTC (permalink / raw
  To: gentoo-dev

Mike Frysinger wrote:

>On Wed, Oct 26, 2005 at 11:43:39AM +0600, Norguhtar wrote:
>  
>
>>http://bugs.gentoo.org/show_bug.cgi?id=110171
>>
>>How obtain USE flags from emerged apps? But when i'm changed flags end 
>>emerge -vp package, emerge report about change in flags and highlited 
>>flag at green.
>>    
>>
>
>inherit eutils
>...
>if ! built_with_use virtual/php gd ; then
>	eerror "Rebuild php with USE=gd"
>	die "we require gd in php"
>fi
>-mike
>  
>
10x. It's very usefull.
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-26 13:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-26  5:43 [gentoo-dev] how get flag from emerge apps Norguhtar
2005-10-26 13:17 ` Mike Frysinger
2005-10-26 13:26   ` Norguhtar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox