Subject: Re: x11 freetype
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Luke Mewburn <lukem@NetBSD.org>
List: current-users
Date: 04/29/2004 15:44:10
--fu8LepSeDvpxVgv6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Apr 28, 2004 at 05:10:58PM +0100, Patrick Welche wrote:
| I was just introducing a HAS_FREETYPE to x11 Makefiles, eg in Xft/Makef=
ile
|=20
| .if ${HAS_FREETYPE} !=3D "yes"
| CONFIG_SUBST+=3D FREETYPE_LIBS=3D"-L${X11USRLIBDIR} -lfreetype" \
| FREETYPE_CFLAGS=3D"-I${X11INCDIR}/freetype2"
| .else
| CONFIG_SUBST+=3D FREETYPE_LIBS=3D"$(freetype-config --libs)" \
| FREETYPE_CFLAGS=3D"$(freetype-config --cflags)"
| .endif
Just curious; what's the intended benefit of this?
| when I came across
|=20
| LDADD+=3D -lXft -lfontconfig -lfreetype -lexpat -lXrender
| DPADD+=3D ${LIBXFT} ${LIBFONTCONFIG} ${LIBFREETYPE} ${LIBEXPAT} ${LIBXR=
ENDER}
|=20
| in xterm/Makefile. Where are LIBXFT and friends defined?
Look for __bsd_prog_mk_x11r6_libs in src/share/mk/bsd.prog.mk
Cheers,
Luke.
--fu8LepSeDvpxVgv6
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAkJYqpBhtmn8zJHIRAqNqAJ41AwPKaCD8VkCadHEwhfAZInoZgQCePQXW
2qwQcJkBO/zFs1GwUiQhv50=
=zChM
-----END PGP SIGNATURE-----
--fu8LepSeDvpxVgv6--