When emerging dev-java/swt without virtual/x11, I needed to emerge x11-libs/libXt in order to get /usr/include/X11/Intrinsic.h.
OK, so apparently libXt should be brought in by gtk+. So how come portage doesn't automatically bring it in? For example: ~ $ emerge -pvt swt [ebuild U ] dev-java/swt-3.2 [3.2_pre1] USE="-accessibility -cairo -gnome -mozilla -opengl%" 0 kB gtk+ is already insntalled on my system, but missing a whole bunch of stuff (switching to modular X). Shouldn't portage automatically bring in the missing libraries? If I just emerge gtk+ it would bring them in: ~ $ emerge -pvt =gtk+-2.8.12 [ebuild R ] x11-libs/gtk+-2.8.12 USE="-debug -doc -jpeg -tiff -xinerama" 0 kB [ebuild N ] x11-libs/libXi-1.0.1 USE="-debug" 240 kB ...etc.
*** This bug has been marked as a duplicate of 133671 ***