Created attachment 330872 [details] build.log erlang doesn't compile with the wxwidgets-use-flag turned on (wxwidgets is the only part that seems to use -lGLU). If I understand this right, then this is due to the latest mesa/glu-split (BUG 432516).
Created attachment 330874 [details] emerge --info
Created attachment 330876 [details] emerge -pqv
Created attachment 330878 [details] environment
Created attachment 330880 [details] config.log of the wx-component
virtual/glu-9.0 and media-libs/mesa-9.0 have been stable for 6 weeks on amd64/x86. Your package has been broken since.
Add a wxwidgets-conditional dependency on virtual/glu in all current erlang ebuilds. Thanks!