summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-17 11:00:03 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-17 11:00:03 +0800
commit3172e7bfe9ecccd17e7bf2000abd08a0d5f2479c (patch)
tree645d75d81fe9f0919c9000e9ccabc7bfd72dd53c
parente2bda1baa7f501da851a16434f5a385be78b589f (diff)
downloadmarcuscom-ports-3172e7bfe9ecccd17e7bf2000abd08a0d5f2479c.tar
marcuscom-ports-3172e7bfe9ecccd17e7bf2000abd08a0d5f2479c.tar.gz
marcuscom-ports-3172e7bfe9ecccd17e7bf2000abd08a0d5f2479c.tar.bz2
marcuscom-ports-3172e7bfe9ecccd17e7bf2000abd08a0d5f2479c.tar.lz
marcuscom-ports-3172e7bfe9ecccd17e7bf2000abd08a0d5f2479c.tar.xz
marcuscom-ports-3172e7bfe9ecccd17e7bf2000abd08a0d5f2479c.tar.zst
marcuscom-ports-3172e7bfe9ecccd17e7bf2000abd08a0d5f2479c.zip
Make sure the TTF bytecode compiler is actually enabled when we want it.
PR: 103268 Submitted by: chinsan <chinsan.tw@gmail.com> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7321 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--print/freetype2/Makefile5
1 files changed, 5 insertions, 0 deletions
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)