From ec49af9bdc9e43fb6a3c8f5b9be94af233103bfc Mon Sep 17 00:00:00 2001 From: mrg Date: Sat, 31 Jan 2009 21:23:45 +0000 Subject: [PATCH] fill in cflags for freetype. make xft-config.in depend on Makefile, so that changes to the Makefile cause rebuilds. fixes PR#40285. --- external/mit/xorg/bin/xft-config/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/external/mit/xorg/bin/xft-config/Makefile b/external/mit/xorg/bin/xft-config/Makefile index fcb9d3d15c47..bf44326a23bf 100644 --- a/external/mit/xorg/bin/xft-config/Makefile +++ b/external/mit/xorg/bin/xft-config/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2008/10/03 03:52:15 cube Exp $ +# $NetBSD: Makefile,v 1.2 2009/01/31 21:23:45 mrg Exp $ .include @@ -16,7 +16,7 @@ xft-config: xft-config.in s,@includedir@,$${prefix}/include,; \ s,@VERSION@,2.1.12,; \ s,@FREETYPE_LIBS@,-lfreetype -lz,; \ - s,@FREETYPE_CFLAGS@,, ; \ + s,@FREETYPE_CFLAGS@,-I$${includedir}/freetype2, ; \ s,@FONTCONFIG_LIBS@,-lfontconfig,; \ s,@FONTCONFIG_CFLAGS@,,; \ s,@XRENDER_LIBS@,-lXrender,; \ @@ -25,6 +25,8 @@ xft-config: xft-config.in < ${.ALLSRC} > ${.TARGET}.tmp && \ mv -f ${.TARGET}.tmp ${.TARGET} +xft-config.in: Makefile + CLEANFILES+= xft-config xft-config.tmp .include