If I defined 2 use flags for the package www-servers/tomcat-5.0.27-r6 portage ignores the correct use flag "doc", if the other flag is wrong ("examples") is not used in the ebuild: n22 /opt/tomcat5 # grep tomcat /etc/portage/package.use www-servers/tomcat doc #www-servers/tomcat examples n22 /opt/tomcat5 # emerge -pv tomcat These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] www-servers/tomcat-5.0.27-r6 +doc -jikes 0 kB Total size of downloads: 0 kB n22 /opt/tomcat5 # n22 /opt/tomcat5 # n22 /opt/tomcat5 # n22 /opt/tomcat5 # grep tomcat /etc/portage/package.use www-servers/tomcat doc www-servers/tomcat examples n22 /opt/tomcat5 # emerge -pv tomcat These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] www-servers/tomcat-5.0.27-r6 -doc* -jikes 0 kB Total size of downloads: 0 kB Reproducible: Always Steps to Reproduce: 1. 2. 3.
The second flag doesn't have to be invalid. If the atom in the second line is the same as in the first line, it overwrites the first.
Ough, so I have to specify all use flags at one line ?
yes, as the manpage says