Created attachment 274467 [details, diff] Add motif dependency to warzone2100 ebuild Warzone2100 doesn't build without motif present. If motif is added as a dependency it compiles fine. I've attached the patch that fixes this.
Warzone builds fine without motif. Please attach the build.log file of the failed emerge _without_ motif being installed.
Created attachment 274479 [details] build.log without openmotif installed
ewwww, the problem is that you have a libXm on your system that the configure script it finding and we weren't explicitly disabling motif before. Fixed the ebuild to make sure motif isn't used.
I indeed appear to have a /usr/lib/libXm.so It belongs to no package, yet it was created yesterday. Could it be that there's something wrong with the uninstallation procedure of openmotif? Anyway, removing that library also fixes the problem.
Oh wait. This Motif library was a preserved library, because Warzone was linked against it. The configure script then found the libXm.so and assumed Motif was available. Anyway, your patch should fix this problem. Nice.