The configuration script for XEmacs fails on the PPC architecture with the "-z nocombreloc" flag being misinterpreted as a file to compile, which manifests itself as an inability to find the X11 libraries.
Created attachment 1719 [details, diff] xemacs-21.4.8-r1.ebuild patch This patch simply adds a step to the unpack stage that applies the combreloc patch.
Created attachment 1720 [details, diff] combreloc-gentoo-ppc.patch This patch should fix the configuration and build problem. To avoid adding complication, both configure.in and configure are patched here. An alternative would be to patch only configure.in and run autoconf in the compile stage, which would require a build dependency on autoconf 2.13.
The combreloc-gentoo-ppc patch appears not to cause problems on the x86 architecture.
Patch is applied, test on both arches and comittied to CVS, thanks Robert (the patch only applies if you are on PPC in the updated build btw)