1 |
On Sun, 31 Jan 2010 01:31:35 +0200 |
2 |
Nikos Chantziaras <realnc@×××××.de> wrote: |
3 |
|
4 |
> What's the best way to have an ebuild abort if two mutually exclusive |
5 |
> USE flags are both set? |
6 |
> |
7 |
> I'm trying the modify the mozilla-firefox and xulrunner ebuilds to |
8 |
> support building with OSS instead of ALSA (sadly, the current versions |
9 |
> of the ebuilds in Portage only allow ALSA to be enabled, not OSS), but |
10 |
> the build system of Xulrunner/Firefox does not allow to build with both. |
11 |
> So I need to abort when both "alsa" and "oss" are set rather than having |
12 |
> the build proceed and the user getting a compilation error later on. |
13 |
|
14 |
confutils.eclass has a bunch of functions that might be helpful. |
15 |
|
16 |
|
17 |
-- |
18 |
fonts, by design, by neglect |
19 |
gcc-porting, for a fact or just for effect |
20 |
wxwidgets @ gentoo EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662 |