The ghostscript ebuild 7.05.6-r1 has a false indirect dependancy on X if cups is used. If cups is "used" (make.conf), then ghostscript depends on Gimp, which depends on X. This is not strictly necessary, and this dependancy forces X to be installed even when the "use" list contains "-X". As an example, consider a headless server that functions as a web and print server. Furthermore, that server also needs image gallery software ("gallery"). The dependencies for gallery include imagemagick, which has the following dependancy tree: cups? ghostscript => cups? gimp-print => gimp => gtk+ => X11 Now, ghostscript compiles just fine without the dependency on gimp-print. If it is possible to compile gimp-print without gimp, then the better solution would be to remove the hard dependency of gimp-print => gimp.
This is the same as Bug # 19937 (http://bugs.gentoo.org/show_bug.cgi?id=19937) I also think that the whole gimp-print / gimp-print-cups / other driver dependency belongs into the cups ebuild, and not here.
*** This bug has been marked as a duplicate of 19937 ***