x11-misc/dmenu failing to build with xft USE flag with alternative pkgconf. This caused by missing quotes in compile flags . Steps to reproduce: Reproducible: Always Steps to Reproduce: 1. replace dev-util/pkgconfig with dev-util/pkgconf 2. USE=xft emerge dmenu 3. notice a build failure 4. switch back to dev-util/pkgconfig 5. dmenu with xft flag building fine. Actual Results: In file included from /usr/include/X11/Xft/Xft.h:39:0, from draw.h:3, from draw.c:8: /usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory compilation terminated. In file included from /usr/include/X11/Xft/Xft.h:39:0, from draw.h:3, from dmenu.c:14: /usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory compilation terminated. Makefile:14: recipe for target 'draw.o' failed make: *** [draw.o] Error 1 make: *** Waiting for unfinished jobs.... Makefile:14: recipe for target 'dmenu.o' failed make: *** [dmenu.o] Error 1 Expected Results: dmenu emerged with either pkgconf or pkgconfig used.
Created attachment 365992 [details] build.log
Created attachment 365994 [details] emerge --info
Created attachment 365996 [details, diff] patch to fix build issue
What does your xft.pc look like?
There are clear steps to reproduce issue.
I politely asked you a question. If I had been able to reproduce the issue, I wouldn't be asking the question.
prefix=/usr exec_prefix=${prefix} libdir=/usr/lib64 includedir=${prefix}/include Name: Xft Description: X FreeType library Version: 2.3.1 Requires: xproto Requires.private: xrender, fontconfig, freetype2 Cflags: -I${includedir} Libs: -L${libdir} -lXft