1 |
Zac Medico wrote: |
2 |
> I've written a patch [1] that implements support for use.force and package.use.force as originally described by Sven Wegener [2] over a year ago. Basically, this feature is the exact opposite of use.mask and package.use.mask. It forces USE flags to be enabled. The only way to disable these forced flags is to mask them via use.mask/package.use.mask or to "unforce" them in the profile stack. Users can unforce them via /etc/portage/profile/{use.force,package.use.force} in the usual "-flag" way. |
3 |
> |
4 |
> If use.force is abused, then it will make it difficult for users to disable unwanted USE flags. Therefore, the only flags that should be forced are those that should almost certainly be enabled. This is complementary to USE masking, which should only be used to mask flags that should almost certainly be disabled. |
5 |
> |
6 |
> We've discussed this feature on the gentoo-portage-dev mailing list [3] and people have expressed a desire to have the use.force feature. People also want a way to enable default flags via IUSE, but that is a distinctly separate feature. Considering that we have a proposed implementation for use.force, shall we add support it now? |
7 |
|
8 |
I read the portage-dev discussion, and I'm still not seeing how this is |
9 |
superior to make.defaults. If you want to be enabling local USE flags by |
10 |
default, this is no less of a hack than that is -- what's truly needed |
11 |
is some way to set per-package defaults. |
12 |
|
13 |
The only valid use I can see is things like the architecture, libc, and |
14 |
so forth. And it seems like there ought to be better solutions to this |
15 |
than adding another hack on top of USE. |
16 |
|
17 |
BTW your mail was really difficult to reply to, since it didn't have any |
18 |
line wrapping. |
19 |
|
20 |
Thanks, |
21 |
Donnie |
22 |
-- |
23 |
gentoo-dev@g.o mailing list |