Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-devhelp
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-devhelp@g.o
From: Ryan Hill <dirtyepic@g.o>
Subject: Re: Mutually exclusive USE flags
Date: Mon, 1 Feb 2010 16:30:10 -0600
On Sun, 31 Jan 2010 01:31:35 +0200
Nikos Chantziaras <realnc@...> wrote:

> What's the best way to have an ebuild abort if two mutually exclusive 
> USE flags are both set?
> 
> I'm trying the modify the mozilla-firefox and xulrunner ebuilds to 
> support building with OSS instead of ALSA (sadly, the current versions 
> of the ebuilds in Portage only allow ALSA to be enabled, not OSS), but 
> the build system of Xulrunner/Firefox does not allow to build with both. 
> So I need to abort when both "alsa" and "oss" are set rather than having 
> the build proceed and the user getting a compilation error later on.

confutils.eclass has a bunch of functions that might be helpful.


-- 
fonts,                                            by design, by neglect
gcc-porting,                              for a fact or just for effect
wxwidgets @ gentoo     EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662




References:
Mutually exclusive USE flags
-- Nikos Chantziaras
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Mutually exclusive USE flags
Next by thread:
How do I select a specific Git "head" in live ebuilds?
Previous by date:
Re: Mutually exclusive USE flags
Next by date:
Re: Re: Mutually exclusive USE flags


Updated Jun 03, 2012

Summary: Archive of the gentoo-devhelp mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.