diff options
author | drochner <drochner@pkgsrc.org> | 2007-03-20 15:20:33 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2007-03-20 15:20:33 +0000 |
commit | 92aacdf3efd6795af78c5459a028d516a0190659 (patch) | |
tree | 6c29a3348a5f4d8e6ba830f0cbe2ed1a6dae27db /graphics/freetype2/Makefile | |
parent | b99232f62b04ec58aca35c1b57a2e2b63759f677 (diff) | |
download | pkgsrc-92aacdf3efd6795af78c5459a028d516a0190659.tar.gz |
update to 2.3.2
This switches to the new stable branch. There are too many API additions
and other changes to list here -- see the changelog.
Some notes:
-There is an unpatented hinter built in per default. The "truetype"
pkgsrc option does still enable another one -- the documentation here
is inconsistent, so I've left this alone for now. I couldn't find
a visible effect with my fonts on my display.
-New pkgsrc option "subpixel". Enables subpixel rendering for LCDs.
Not default because there are patent issues.
-There is sone strange effect of the CONFIG_SHELL environment valiable
on the "configure" script. Worked around this by overriding the
env var in the pkg Makefile. Someone understanding shell quoting might
be able to locate the underlying problem.
Diffstat (limited to 'graphics/freetype2/Makefile')
-rw-r--r-- | graphics/freetype2/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/graphics/freetype2/Makefile b/graphics/freetype2/Makefile index 6fb141e4e6d..a5e8cb170ea 100644 --- a/graphics/freetype2/Makefile +++ b/graphics/freetype2/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.55 2006/11/03 22:22:10 joerg Exp $ +# $NetBSD: Makefile,v 1.56 2007/03/20 15:20:33 drochner Exp $ -DISTNAME= freetype-2.2.1 -PKGREVISION= 2 +DISTNAME= freetype-2.3.2 PKGNAME= ${DISTNAME:S/-/2-/} CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freetype/} \ @@ -26,6 +25,9 @@ CONFIGURE_DIRS= ${WRKSRC}/builds/unix BUILD_DIRS= ${WRKSRC} CONFIGURE_ARGS+= --includedir=${PREFIX}/include CONFIGURE_ENV+= ac_cv_path_GREP=${GREP:Q} ac_cv_path_EGREP=${EGREP:Q} +# XXX I don't understand what's happening here, but the CONFIG_SHELL +# in CONFIGURE_ENV breaks the configure script +CONFIG_SHELL= # null .if exists(/System/Library/Frameworks/Carbon.framework) LDFLAGS+= -framework Carbon @@ -37,7 +39,7 @@ PKGCONFIG_OVERRIDE= builds/unix/freetype2.in .include "../../mk/compiler.mk" PKG_OPTIONS_VAR= PKG_OPTIONS.freetype2 -PKG_SUPPORTED_OPTIONS= truetype +PKG_SUPPORTED_OPTIONS= truetype subpixel .include "../../mk/bsd.options.mk" @@ -52,6 +54,11 @@ PKG_SUPPORTED_OPTIONS= truetype CFLAGS+= -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER .endif +# subpixel (lcd) rendering, also patent issues +.if !empty(PKG_OPTIONS:Msubpixel) +CFLAGS+= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING +.endif + # source code breaks strict aliasing in gcc>=2.95 .if !empty(CC_VERSION:Mgcc-[3-9]*) || !empty(CC_VERSION:Mgcc-2.95*) CFLAGS+= -fno-strict-aliasing |