Overview: Despite einfo messages suggesting the contrary, attempting to build wxGTK-2.6.2-r1 with USE="-X" tries to pull in >=gtk+-2.0 as a dependency. Steps to reproduce: 1) Have a system with no X or GTK+ installed. 2) Install =x11-libs/wxGTK-2.6.2-r1 with USE="-X" Actual results: Portage tries to pull in GTK+ and Glib as dependencies. Expected results: No GUI libraries should be built with USE="-X". Workaround: emerge --oneshot --nodeps '=x11-libs/wxGTK-2.6.2-r1' completes successfully despite the lack of GTK+ on the system.
Created attachment 78572 [details, diff] propsed patch to wxGTK-2.6.1-r1.ebuild Makes the GTK+, Glib, and TIFF dependencies relative to the X USE flag.
*** This bug has been marked as a duplicate of 109515 ***