public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] A question about USE flags...
@ 2005-11-08  9:04 Michele Noberasco
  2005-11-08 10:27 ` Henrik Brix Andersen
  0 siblings, 1 reply; 3+ messages in thread
From: Michele Noberasco @ 2005-11-08  9:04 UTC (permalink / raw
  To: gentoo-dev

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

I have a package, x11-plugins/wmhdplop, which depends on
media-libs/imlib2 being compiled with 'X' USE flag set. Is there a
way to specify such a dependancy? Right now I added a warning if 'X'
USE flag is not set, but I don't like this solution, as it might not
always catch the problem (i.e.: USE flag change), plus it makes repoman
not happy, as of course I didn't add X to IUSE (as there is no
*optional* X support for wmhdplop)...

Bye
Michele Noberasco

-- 
<KnaraKat> DalNet is like the special olympics of IRC.  There's a lot of
           drooling goin' on and everyone is a 'winner'.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-dev] A question about USE flags...
  2005-11-08  9:04 [gentoo-dev] A question about USE flags Michele Noberasco
@ 2005-11-08 10:27 ` Henrik Brix Andersen
  2005-11-10 10:09   ` Michele Noberasco
  0 siblings, 1 reply; 3+ messages in thread
From: Henrik Brix Andersen @ 2005-11-08 10:27 UTC (permalink / raw
  To: gentoo-dev

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

On Tue, Nov 08, 2005 at 10:04:48AM +0100, Michele Noberasco wrote:
> I have a package, x11-plugins/wmhdplop, which depends on
> media-libs/imlib2 being compiled with 'X' USE flag set. Is there a
> way to specify such a dependancy? Right now I added a warning if 'X'
> USE flag is not set, but I don't like this solution, as it might not
> always catch the problem (i.e.: USE flag change), plus it makes repoman
> not happy, as of course I didn't add X to IUSE (as there is no
> *optional* X support for wmhdplop)...

You can use `built_with_use media-libs/imlib2 X` as defined in
eutils.eclass.

Sincerely,
Brix
-- 
Henrik Brix Andersen <brix@gentoo.org>
Gentoo Metadistribution | Mobile computing herd

[-- Attachment #2: Type: application/pgp-signature, Size: 211 bytes --]

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

* Re: [gentoo-dev] A question about USE flags...
  2005-11-08 10:27 ` Henrik Brix Andersen
@ 2005-11-10 10:09   ` Michele Noberasco
  0 siblings, 0 replies; 3+ messages in thread
From: Michele Noberasco @ 2005-11-10 10:09 UTC (permalink / raw
  To: gentoo-dev

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

On Tue, 8 Nov 2005 11:27:09 +0100
Henrik Brix Andersen <brix@gentoo.org> was read writing:

> You can use `built_with_use media-libs/imlib2 X` as defined in
> eutils.eclass.
Thank you, that worked fine :-)

Bye,
Michele Noberasco

-- 
With listening comes wisdom, with speaking repentance.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2005-11-10 10:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-08  9:04 [gentoo-dev] A question about USE flags Michele Noberasco
2005-11-08 10:27 ` Henrik Brix Andersen
2005-11-10 10:09   ` Michele Noberasco

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