summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2003-10-01 01:26:23 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2003-10-01 01:26:23 +0000
commit990f546c5079d65cffceacb08770390ac81ff865 (patch)
treeed74b5a1e81e62f8fec39587a503d5b9d9f1ad6c /print
parentThe Fluxbox Background Tool gives you a nice GUI to make background (diff)
Due a number of negative feedback about lost font hinting
TTF bytecode interpreter is enabled back by default. There is a new option WITHOUT_TTF_BYTECODE_ENABLED wich makes others happy too.
Notes
Notes: svn path=/head/; revision=89942
Diffstat (limited to 'print')
-rw-r--r--print/freetype2/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile
index 7820f87076be..7dfda7a84e70 100644
--- a/print/freetype2/Makefile
+++ b/print/freetype2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= freetype2
PORTVERSION= 2.1.5
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%,freetype,} \
http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/%SUBDIR%/ \
@@ -31,6 +32,24 @@ LIBTOOLFILES= builds/unix/configure
CONFIGURE_ARGS= --disable-nls
CONFIGURE_WRKSRC= ${WRKSRC}/builds/unix
+.if !defined(WITHOUT_TTF_BYTECODE_ENABLED)
+CFLAGS+= -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER
+.endif
+
+pre-everything::
+.if !defined(WITHOUT_TTF_BYTECODE_ENABLED)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "You may want not to compile a bytecode interpreter into the"
+ @${ECHO_MSG} "TrueType driver. Without this you will only compile the code"
+ @${ECHO_MSG} "necessary to load TrueType glyphs without hinting."
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Hit Ctrl-C now and use \"make WITHOUT_TTF_BYTECODE_ENABLED=yes\""
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Note that there are important patent issues related to the"
+ @${ECHO_MSG} "use of the interpreter."
+ @${ECHO_MSG}
+.endif
+
pre-patch:
@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/builds/unix/install.mk