I have attached the emerge output.
Created attachment 1306 [details] output from failed emerge
what version of portage are using? and gcc? and are you using the Nvidias openGL or the xfree one?
I had the same problem, it turns out that source gets "patched" after unpacking (check out src_unpack() in the ebuild). After commenting out the "patch" everything worked for me. The comment over the patch reads: <p> <code> #This fixes a conflict with at least the AccelX GL headers; hopefully this #fix doesn't break anyone else. (drobbins, 1 Feb 2002) </code>
fixed in -r2