Subject: x11 freetype
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 04/28/2004 17:10:58
I was just introducing a HAS_FREETYPE to x11 Makefiles, eg in Xft/Makefile

.if ${HAS_FREETYPE} != "yes"
CONFIG_SUBST+=  FREETYPE_LIBS="-L${X11USRLIBDIR} -lfreetype" \
                FREETYPE_CFLAGS="-I${X11INCDIR}/freetype2"
.else
CONFIG_SUBST+=  FREETYPE_LIBS="$(freetype-config --libs)" \
                FREETYPE_CFLAGS="$(freetype-config --cflags)"
.endif

when I came across

LDADD+= -lXft -lfontconfig -lfreetype -lexpat -lXrender
DPADD+= ${LIBXFT} ${LIBFONTCONFIG} ${LIBFREETYPE} ${LIBEXPAT} ${LIBXRENDER}

in xterm/Makefile. Where are LIBXFT and friends defined?

Cheers,

Patrick