I was reading the Gentoo AMD64 handbook and it says [1] that global USE flags are supposed to be used by "several" packages. However, I noticed that many global USE flags listed here [2] such as "tokenizer", "pcntl", "inifile", "sharedmem", "simplexml", "wddx", "oci8-instant-client", "qdbm" etc. are used by either dev-lang/php or at most 2-5 packages. Shouldn't they be made local instead? Also, what does the author of [1] mean by "several"? What number are we talking about here? [1] https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/USE#What_USE_flags_exist [2] https://www.gentoo.org/support/use-flags/#global
As per the Devmanual [1] > Local and Global USE Flags > USE flags are categorised as either local or global. A global USE flag must satisfy several criteria: > > It is used by many different packages, at least 5 seems to be agreed upon. > It has a general non-specific purpose. > The second point is important. If the effect of the USE flag upon pkg-one is substantially different from the effect it has upon pkg-two, then the flag is not a suitable candidate for being made a global flag. In particular, note that if client and server USE flags are ever introduced, they can not be global USE flags for this reason. > > Before introducing a new global USE flag, it must be discussed on the gentoo-dev mailing list. These flags were introduced after this discussion [2]. As per the guidelines set forth in the devmanual, global USE flags are discussed on the developer mailing list, so I'd recommend posting there asking for any opinions on reconsidering them as local instead of global. [1] https://devmanual.gentoo.org/general-concepts/use-flags/index.html [2] https://archives.gentoo.org/gentoo-dev/message/e14b29676661c9d3e6e95c2930a73b60
Please send inquiries like these to the -dev mailing list.