pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/freetype2 Add MKTTINTERP knob to enable the b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9db88d071ab4
branches:  trunk
changeset: 471594:9db88d071ab4
user:      recht <recht%pkgsrc.org@localhost>
date:      Mon Mar 29 10:17:49 2004 +0000

description:
Add MKTTINTERP knob to enable the bytecode interpreter for TrueType fonts.
This closes PR 24935 by Martin Husemann.

diffstat:

 graphics/freetype2/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r ef4214bfa9d5 -r 9db88d071ab4 graphics/freetype2/Makefile
--- a/graphics/freetype2/Makefile       Mon Mar 29 10:04:09 2004 +0000
+++ b/graphics/freetype2/Makefile       Mon Mar 29 10:17:49 2004 +0000
@@ -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 @@
 
 .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"



Home | Main Index | Thread Index | Old Index