diff options
author | recht <recht@pkgsrc.org> | 2004-03-29 10:17:49 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2004-03-29 10:17:49 +0000 |
commit | 90b4fb13627f36b20fe275270ffaa4ddd41ccb59 (patch) | |
tree | 5c09159dd59b4d03580727ba6816007f8dd688b4 /graphics | |
parent | 0149a12b5c08f24b3e27e0ab0c508ab0733d246f (diff) | |
download | pkgsrc-90b4fb13627f36b20fe275270ffaa4ddd41ccb59.tar.gz |
Add MKTTINTERP knob to enable the bytecode interpreter for TrueType fonts.
This closes PR 24935 by Martin Husemann.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/freetype2/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/freetype2/Makefile b/graphics/freetype2/Makefile index 77d7873bea5..5664defbd83 100644 --- a/graphics/freetype2/Makefile +++ b/graphics/freetype2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2004/02/14 18:26:28 jmmv Exp $ +# $NetBSD: Makefile,v 1.30 2004/03/29 10:17:49 recht Exp $ # DISTNAME= freetype-2.1.5 @@ -30,6 +30,12 @@ PKGCONFIG_OVERRIDE= builds/unix/freetype2.in .include "../../mk/bsd.prefs.mk" +.if defined(MKTTINTERP) && \ + !empty(MKTTINTERP:M[yY][eE][sS]) +CFLAGS+= -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER +.endif +BUILD_DEFS+= MKTTINTERP + post-configure: cd ${WRKSRC} && ${LN} -s builds/unix/unix.mk config.mk .if ${OPSYS} == "IRIX" |