Just a thought, but how about making use.mask lock flags instead of forcing them off? Meaning, if use.mask contains ncurses, and make.defaults contains USE="ncurses", this would have the same effect as what ncurses in use.force would do. IMO, this would keep things a bit simpler. But again, just a thought; I don't know if it'd cause any problems for portage.
Question: with use.force, what happens if a flag is both masked and forced? Does it get turned on, get turned off, or get portage to complain and abort? -- gentoo-dev@gentoo.org mailing list