If x11-libs/wxGTK has X disabled, emerging media-gfx/hugin fails during compilation. If x11-libs/wxGTK has X enabled, everything is fine. So hugin should depend on wxGTK with X enabled. Tried media-gfx/hugin-2010.2.0, but other versions are probably affected too. Reproducible: Always
Thanks for reporting this more exact dependency, assigning to maintainers
Fixed in CVS.