summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-04-25 00:10:09 -0400
committerMike Gilbert <floppym@gentoo.org>2020-04-25 00:10:20 -0400
commitba5575a48f13231ff64878d0f3c02d7e99f187d5 (patch)
tree7b2ccae05b3ca0eb97fc9c54884fb0e162e22c72 /media-gfx/fontforge
parentdev-util/ccls: Pass -DCLANG_LINK_CLANG_DYLIB=1 (diff)
downloadgentoo-ba5575a48f13231ff64878d0f3c02d7e99f187d5.tar.gz
gentoo-ba5575a48f13231ff64878d0f3c02d7e99f187d5.tar.bz2
gentoo-ba5575a48f13231ff64878d0f3c02d7e99f187d5.zip
media-gfx/fontforge: fix build with truetype-debugger enabled
Closes: https://bugs.gentoo.org/719258 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'media-gfx/fontforge')
-rw-r--r--media-gfx/fontforge/fontforge-20200314.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/media-gfx/fontforge/fontforge-20200314.ebuild b/media-gfx/fontforge/fontforge-20200314.ebuild
index 78f202d17f26..595c9336afa0 100644
--- a/media-gfx/fontforge/fontforge-20200314.ebuild
+++ b/media-gfx/fontforge/fontforge-20200314.ebuild
@@ -94,7 +94,12 @@ src_configure() {
fi
if use truetype-debugger ; then
- mycmakeargs+=( -DENABLE_FREETYPE_DEBUGGER="${EPREFIX}/usr/include/freetype2/internal4fontforge" )
+ local ft2="${ESYSROOT}/usr/include/freetype2"
+ local ft2i="${ft2}/internal4fontforge"
+ mycmakeargs+=(
+ -DENABLE_FREETYPE_DEBUGGER="${ft2}"
+ -DFreeTypeSource_INCLUDE_DIRS="${ft2};${ft2i}/include;${ft2i}/include/freetype;${ft2i}/src/truetype"
+ )
fi
cmake_src_configure