Quoting Genome: "Fill a bug about that package: it inherits elisp.eclass which has a hard dependency on emacs, so either it shouldn't have that USE flag or the eclass needs to be changed." Emacs should be removed as a hard dependency for this package. Reproducible: Always Steps to Reproduce: 1. Set USE flags to "-emacs ..." for dev-util/global in /etc/portage/package.keywords 2. Set "dev-util/global ~x86" in /etc/portage/package.keywords 3. emerge -pv dev-util/global Actual Results: $ emerge -pv global These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] app-editors/emacs-21.4-r1 -X -Xaw3d -gnome -leim -lesstif -motif +nls -nosendmail 19,925 kB [ebuild U ] dev-util/global-4.8.2 [4.5] -doc -emacs +vim* 626 kB Expected Results: (Asuming vim is installed on the system) $ emerge -pv global These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] dev-util/global-4.8.2 [4.5] -doc -emacs +vim* 626 kB
Ebuilds which support emacs via the "emacs" use flag should inherit "elisp-common". The emacs eclass is for app-emacs/ stuff. Fixed in CVS, thanks for the bug report.