fill in cflags for freetype. make xft-config.in depend on Makefile,

so that changes to the Makefile cause rebuilds.

fixes PR#40285.
This commit is contained in:
mrg 2009-01-31 21:23:45 +00:00
parent fed46fd602
commit ec49af9bdc
1 changed files with 4 additions and 2 deletions

View File

@ -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 <bsd.own.mk>
@ -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 <bsd.x11.mk>