commit:     e1f04dbbbf35d4e7cd07f90992c5300b6a08ac58
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 17 11:49:44 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Sep 17 11:50:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f04dbb

media-libs/freetype: Revbump to really disable cleartype_hinter (bug #593700).

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-libs/freetype/{freetype-2.7.ebuild => freetype-2.7-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-libs/freetype/freetype-2.7.ebuild 
b/media-libs/freetype/freetype-2.7-r1.ebuild
similarity index 98%
rename from media-libs/freetype/freetype-2.7.ebuild
rename to media-libs/freetype/freetype-2.7-r1.ebuild
index 61e4991..c7c0aaf 100644
--- a/media-libs/freetype/freetype-2.7.ebuild
+++ b/media-libs/freetype/freetype-2.7-r1.ebuild
@@ -68,11 +68,11 @@ src_prepare() {
        if use infinality; then
                # FT_CONFIG_OPTION_SUBPIXEL_RENDERING is already enabled in 
freetype-2.4.11
                enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING  1"
-       fi
-
-       if use cleartype_hinting; then
+       elif use cleartype_hinting; then
                # Will be the new default for >=freetype-2.7.0
                enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING  2"
+       else
+               disable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING  2"
        fi
 
        if ! use bindist; then

Reply via email to