Please look at this discussion with upstream http://afni.nimh.nih.gov/afni/community/board/read.php?1,85348,85348#msg-85348 Apparently building fails w/o motif at build time. I have no idea why, but it also failed on my machine. If you are curious you could also try it on yours.

This, however, leads me to believe that motif is no longer used at runtime http://paste2.org/ma8CInC4 (is my conclusin ocrrect?).

What do you mean by take a look on my past and fix the ebuild accordingly? what past? what exactly should I fix?