checking for freetype-config... no configure: error: *** Unable to find FreeType2 library (http://www.freetype.org/) !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-libs/sdl-ttf-2.0.14/work/SDL2_ttf-2.0.14-abi_x86_64.amd64/config.log * ERROR: media-libs/sdl-ttf-2.0.14::local failed (configure phase): sdl-ttf calls freetype-config to find the library paths. It seems it should use pkgconfig.
Created attachment 529644 [details] build.log
Created attachment 529646 [details] emerge --info output
I'm seeing this same issue with sdl2-ttf and also ftgl checking for freetype-config... no configure: error: *** Unable to find FreeType2 library (http://www.freetype.org/)
Created attachment 529684 [details] sdl2-ttf failure build.log
Created attachment 529686 [details] ftgl build.log
for ftgl: checking for freetype-config... no checking for FreeType -- version >= 9.0.3... no configure: error: FreeType2 is required to compile this library
Created attachment 529688 [details] emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=180acb7085490a0c57e180eb72e6b2520022df66 commit 180acb7085490a0c57e180eb72e6b2520022df66 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-05-04 07:55:43 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-05-04 07:55:43 +0000 media-libs/sdl-ttf: Use pkg-config to search for freetype. Closes: https://bugs.gentoo.org/654758 Package-Manager: Portage-2.3.35, Repoman-2.3.9 .../files/sdl-ttf-2.0.11-freetype_pkgconfig.patch | 46 ++++++++++++++++++++++ .../sdl-ttf/files/sdl-ttf-2.0.11-underlink.patch | 4 +- media-libs/sdl-ttf/sdl-ttf-2.0.11-r1.ebuild | 30 ++++++++------ 3 files changed, 66 insertions(+), 14 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=295794b0417fabcc378298894d1720939695a767 commit 295794b0417fabcc378298894d1720939695a767 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-05-04 08:03:27 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-05-04 08:03:27 +0000 media-libs/sdl2-ttf: Use pkg-config to search for freetype. Bug: https://bugs.gentoo.org/654758 Package-Manager: Portage-2.3.35, Repoman-2.3.9 .../files/sdl-ttf-2.0.11-freetype_pkgconfig.patch | 46 ++++++++++++++++++++++ media-libs/sdl2-ttf/sdl2-ttf-2.0.14.ebuild | 30 +++++++++----- 2 files changed, 67 insertions(+), 9 deletions(-)
Amazing Lars, thank you!
*** Bug 654768 has been marked as a duplicate of this bug. ***