Keywording x11-apps/xeyes-1.1.1 locally enables it to build on sparc64-solaris with no changes. It works perfectly with X11 Forwarding.
+ 07 Mar 2012; Jeremy Olexa <darkside@gentoo.org> xeyes-1.1.1.ebuild: + add ~sparc-solaris, bug 406809