The pkg-config .pc file installed by the glew ebuild points to the temporary portage build folder instead of to the actual system paths. Reproducible: Always Steps to Reproduce: 1. Emerge media-libs/glew-1.5.7 2. pkg-config --cflags --libs glew Actual Results: -I/var/tmp/portage/media-libs/glew-1.5.7/image//usr/include/GL -L/var/tmp/portage/media-libs/glew-1.5.7/image//usr/lib64 -lGLEW Expected Results: -I/usr/include/GL -L/usr/lib64 -lGLEW
oops. fixed.