Attempting to emerge DirectFB 0.9.18 emerges libmpeg3 (files are placed into /usr/include/libmpeg3) but the configuration script for DirectFB does not find the header files and fails to compile in libmpeg support. Exporting CPPFLAGS=-I/usr/include/libmpeg3 should care of the problem. Temporary fix was to copy DirectFB-0.9.18.ebuild to /usr/local/portage/dev- libs/DirectFB and change: src_compile() { econf \ to src_compile() { CPPFLAGS=-I/usr/include/libmpeg3 \ econf \ Not sure how proper a fix this is. :) Reproducible: Always Steps to Reproduce: 1. 2. 3.
0.9.19-r1 should fix this - the quick and dirty way. Looks like the program authors actually recommend setting CPPFLAGS instead of providing a better configure script.