Closes: https://bugs.gentoo.org/654894
Package-Manager: Portage-2.3.36, Repoman-2.3.9
--- /dev/null
+--- tuxpuck-0.8.2/utils/Makefile
++++ tuxpuck-0.8.2/utils/Makefile
+@@ -6,7 +6,7 @@
+ all : ttf2font data2c anim
+
+ ttf2font : ttf2font.c
+- $(CC) $(CFLAGS) ttf2font.c `freetype-config --cflags --libs` -o ttf2font
++ $(CC) $(CFLAGS) ttf2font.c `pkg-config --cflags --libs freetype2` -o ttf2font
+
+ data2c : data2c.c
+ $(CC) $(CFLAGS) data2c.c `sdl-config --cflags --libs` -o data2c
"
DEPEND="${RDEPEND}
media-libs/freetype:2
+ virtual/pkgconfig
"
src_prepare() {
eapply "${FILESDIR}"/${P}-ldflags.patch \
"${FILESDIR}"/${P}-png15.patch \
- "${FILESDIR}"/${P}-parallel.patch
+ "${FILESDIR}"/${P}-parallel.patch \
+ "${FILESDIR}"/${P}-freetype_pkgconfig.patch
}
src_compile() {