--- xft.pc.in.org	2006-12-07 11:17:19.000000000 +0100
+++ xft.pc.in	2003-05-01 02:49:20.000000000 +0200
@@ -2,11 +2,14 @@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
 includedir=@includedir@
+freetypelibs=@FREETYPE_LIBS@
+freetypecflags=@FREETYPE_CFLAGS@
+xrenderlibs=@XRENDER_LIBS@
+xrendercflags=@XRENDER_CFLAGS@
 
 Name: Xft
 Description: X FreeType library
 Version: @VERSION@
-Requires: xproto, xrender, fontconfig, freetype2
-Requires.private: xrender, fontconfig, freetype2
-Cflags: -I${includedir}
-Libs: -L${libdir} -lXft
+Requires: fontconfig
+Libs: -L${libdir} -lXft -lX11 ${freetypelibs} ${xrenderlibs}
+Cflags: -I${includedir} ${freetypecflags} ${xrendercflags}
