From 3172e7bfe9ecccd17e7bf2000abd08a0d5f2479c Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 17 Sep 2006 03:00:03 +0000 Subject: Make sure the TTF bytecode compiler is actually enabled when we want it. PR: 103268 Submitted by: chinsan git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7321 df743ca5-7f9a-e211-a948-0013205c9059 --- print/freetype2/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile index cad18c08c..fcc90f13f 100644 --- a/print/freetype2/Makefile +++ b/print/freetype2/Makefile @@ -7,6 +7,7 @@ PORTNAME= freetype2 PORTVERSION= 2.2.1 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%,freetype,} \ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/%SUBDIR%/ \ @@ -59,6 +60,10 @@ pre-everything:: pre-patch: @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \ ${WRKSRC}/builds/unix/install.mk +.if !defined(WITHOUT_TTF_BYTECODE_ENABLED) + @${REINPLACE_CMD} -e '/#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER/s,/\* \(.*\) \*/,\1,; /#define TT_CONFIG_OPTION_UNPATENTED_HINTING/s,^\(.*\),/* \1 \*/,' \ + ${WRKSRC}/include/freetype/config/ftoption.h +.endif post-configure: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} setup) -- cgit v1.2.3