From ba5575a48f13231ff64878d0f3c02d7e99f187d5 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 25 Apr 2020 00:10:09 -0400 Subject: [PATCH] media-gfx/fontforge: fix build with truetype-debugger enabled Closes: https://bugs.gentoo.org/719258 Signed-off-by: Mike Gilbert --- media-gfx/fontforge/fontforge-20200314.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.26.2