ft2build.h is installed in /usr/X11R6/include by the monolitic build system. Many 3rd party applications (cairo for instance) need to include it. So freetype2.pc should include -I/usr/X11R6/include in CFLAGS.
Created attachment 4222 [details] [review] proposed patch
BTW, this matches what freetype-config --cflags does.
This is a bug in the freetype.pc as provided by FreeType upstream as well.
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
monolith is no longer maintained.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.