summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-03-29 10:17:49 +0000
committerrecht <recht@pkgsrc.org>2004-03-29 10:17:49 +0000
commit3753e669e170dde0fb385b9d5254152d45a1f7d0 (patch)
tree5c09159dd59b4d03580727ba6816007f8dd688b4 /graphics
parentbbd63aacb766356c3e9e36357eee2b21250e3d8f (diff)
downloadpkgsrc-3753e669e170dde0fb385b9d5254152d45a1f7d0.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/Makefile8
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"