From: Mike Gilbert Date: Sat, 25 Apr 2020 04:10:09 +0000 (-0400) Subject: media-gfx/fontforge: fix build with truetype-debugger enabled X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ba5575a48f13231ff64878d0f3c02d7e99f187d5;p=gentoo.git media-gfx/fontforge: fix build with truetype-debugger enabled Closes: https://bugs.gentoo.org/719258 Signed-off-by: Mike Gilbert --- 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