* Fixes and enhancements to ftgl.pc: + Add -I${includedir}/FTGL to Cflags because we want to support legacy application that still #include <FTGLBitmapFont.h>. + Remove @GL_CFLAGS@ from Cflags because our public headers do not use GL headers. + Add freetype2 to Requires.private since it ships its own .pc file. Not using Requires because freetype2 is only really needed for statically linking. Getting rid of @FT2_CFLAGS@ and @FT2_LIBS@ at the same time.
diff --git a/ftgl.pc.in b/ftgl.pc.in
index 09c331d..479bf71 100644
--- a/ftgl.pc.in
+++ b/ftgl.pc.in
@@ -6,6 +6,7 @@ includedir=@includedir@
Name: @PACKAGE_NAME@
Description: OpenGL frontend to Freetype 2
Version: @PACKAGE_VERSION@
-Requires:
-Libs: @GL_LIBS@ @FT2_LIBS@ -L${libdir} -lftgl
-Cflags: -I${includedir} @GL_CFLAGS@ @FT2_CFLAGS@
+Libs: -L${libdir} -lftgl
+Requires.private: freetype2
+Libs.private: @GL_LIBS@ -lm
+Cflags: -I${includedir} -I${includedir}/FTGL