Why do we keep a local USE flag when there is a global flag that does exactly the same? Wasn't the whole point of global USE flags to avoid the installation of unneeded/unwanted libraries? As it is, >=x11-libs/gtk+-2.10.0 is pulled even on a -gtk system, which is against the idea of setting the flag on the first place. Reproducible: Always Steps to Reproduce: 1. USE="-gtk" emerge xchat Actual Results: GTK gets pulled in. Expected Results: Having "-gtk" set globally should disable GTK entirely on the system, giving you only the text interface. I understand that installing Xchat without a text interface may not be common, but if the USE flags are set in a given way, the whole tree should accept them. What makes Xchat so special that it can't follow what I set up, unless I set specific rules for it?
Pablo, you are completely right. This is no longer the preferred approach. I assume the xchatnogtk USE flag comes from times where portage wasn't able to enable USE flags by default. Anyway I fixed this in the latest version: + 19 Jan 2011; Lars Wendler <polynomial-c@gentoo.org> xchat-2.8.8-r1.ebuild: + Renamed xchatnogtk USE flag to gtk. Thanks to Pablo Barros for bringing my + attention to this ancient USE flag in bug #352164.