1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Jeroen Roovers wrote: |
5 |
> On Fri, 02 Nov 2007 13:40:40 +0100 |
6 |
> "Marijn Schouten (hkBst)" <hkBst@g.o> wrote: |
7 |
> |
8 |
>> Another prime example for use flags with more than two values: |
9 |
>> |
10 |
>> mod=off |
11 |
>> mod=fmod |
12 |
>> mod=libmodplug |
13 |
>> |
14 |
>> the first for disabling mod support, the second for enabling it and |
15 |
>> preferring fmod implementation, the third for enabling it and |
16 |
>> preferring libmodplug implementation. |
17 |
> |
18 |
> I don't think you've actually argued the case why one USE flag with |
19 |
> three, perhaps four modes (off, fmod, libmodplug, and perhaps default) |
20 |
> is preferable to two USE flags with two modes each (fmod and modplug, |
21 |
> both refering to the libs a package links to, either on or off). |
22 |
|
23 |
I tried to explain this before. See |
24 |
<http://article.gmane.org/gmane.linux.gentoo.devel/52316/match=use+options>. |
25 |
|
26 |
Having an ordinary use flag for each library may work well enough when there |
27 |
are less than three libraries that provide a certain functionality, although |
28 |
with 2 old-style use flags you already have one bogus fourth option. Default |
29 |
should not be an option of its own; one of the three options should be the |
30 |
default. |
31 |
|
32 |
> Besides, could you explain why are you trying to hijack a short and |
33 |
> simple thread about globalising one or two USE flags? |
34 |
|
35 |
I'm not trying to hijack this thread. I'm just injecting one message pointing |
36 |
this out as something I think could benefit from my proposal. |
37 |
|
38 |
A few real examples may go a long way to explaining something. |
39 |
|
40 |
Marijn |
41 |
|
42 |
- -- |
43 |
Marijn Schouten (hkBst), Gentoo Lisp project |
44 |
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode |
45 |
-----BEGIN PGP SIGNATURE----- |
46 |
Version: GnuPG v2.0.7 (GNU/Linux) |
47 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
48 |
|
49 |
iD8DBQFHKzDup/VmCx0OL2wRAo5vAJ0VLX8BSFLFTY2K1wLADtS35jZHnwCfS8Vd |
50 |
IgDXBRNrzWbiLfuZadHIzj8= |
51 |
=MHt+ |
52 |
-----END PGP SIGNATURE----- |
53 |
-- |
54 |
gentoo-dev@g.o mailing list |