I tried to build emulationstation from abendbrot overlay. After tons of failed build (trying to disable distcc, using lower makeopts, defining ldpath, ldflags, ...) i figured out raspbian had a link from /opt/vc/lib/libGLESv1_CM.so to /opt/vc/lib/libGLESv2.so, which actually does the trick since libGLESv2.so provide both GLES1 and GLES2. Reproducible: Always You could add "dosym /opt/vc/lib/libGLESv2.so /opt/vc/lib/libGLESv1_CM.so" in ebuilds
fixed in raspberrypi-userland-0_pre20160305-r1.ebuild commit 06c415c57f1452d3376499ff82128d9b7013f64a Author: Miroslav Šulc <fordfrog@gentoo.org> Date: Thu Mar 10 15:04:43 2016 +0100 media-libs/raspberrypi-userland: bug fixes and improvements fixed bug #539504: support for GLESv1 fixed bugs #499768 and #529424: added pkgconfig files and set environment path to these files fixed location of udev rules file fixed bug #499768: added support for wayland from leio.git overlay Package-Manager: portage-2.2.27