problems: 1. There is a line in the glfw-2.6.ebuild that says: dosym libglfw.so.2.6 /usr/lib/libglfw.so because I'm stubbornly refusing to link my /usr/lib to /usr/lib64, this results in a broken link /usr/lib/libglfw.so=>libglfw.so.2.6. This link should exist in /usr/lib64. 2. The documentation installed with glfw-2.6 states that it supports pkg-config. The file lib/x11/Makefile.x11 can be used to generate libglfw.pc and a few doins in the ebuild can install it. conclusion: The ebuild seems to do a lot that the glfw Makefile should. The ebuild does a lot of work to avoid calling emake install. Of course, to support pkg-config, I had to add more to the ebuild which would be done by emake install. I guess this is an upstream issue, though.... Please see the to be attached patch.
Created attachment 182700 [details, diff] adds a $(get_libdir) and installation of libglfw.pc
in portage. thanks for the bug report and patch.