Would be nice to give a message at the end of the merge/unmerge process telling that you will have to unmerge the other packages as well. For example if you have nagios already installed but wish to reemerge it, because you added the 'gd' flag to your USE section in /etc/make.conf, use something like the following: # emerge unmerge nagios-core && \ emerge unmerge nagios-plugins && \ emerge unmerge nagios-nrpe && \ emerge unmerge /nagios-nsca && \ emerge unmerge nagios-imagepack && \ emerge unmerge nagios && \ emerge nagios analog, for completely unmerging nagios do something like this: # emerge unmerge nagios-core && \ emerge unmerge nagios-plugins && \ emerge unmerge nagios-nrpe && \ emerge unmerge /nagios-nsca && \ emerge unmerge nagios-imagepack && \ emerge unmerge nagios It took me some time to figure out why the nagios package wasn't responding to my changed USE flags after re-emerging. Hopefully the above can prevent people having the same problem. Reproducible: Always Steps to Reproduce: 1. 2. 3.
The same could be said for KDE, or X, or Gnome, or any other package with a lot of dependencies. I'm not sure that this is the fault of the ebuild. Also, an emerge -C nagios && emerge depclean would remove all of nagios. Just don't forget to do a emerge -p depclean before doing the actual depclean!
I've put a nice message on pkg_postrm, that should take care of it.