diff options
-rw-r--r-- | games-arcade/tuxpuck/files/tuxpuck-0.8.2-freetype_pkgconfig.patch | 11 | ||||
-rw-r--r-- | games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild | 4 |
2 files changed, 14 insertions, 1 deletions
diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-freetype_pkgconfig.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-freetype_pkgconfig.patch new file mode 100644 index 00000000000..410024e48dc --- /dev/null +++ b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-freetype_pkgconfig.patch @@ -0,0 +1,11 @@ +--- 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 diff --git a/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild b/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild index b1df215d59d..092a4932727 100644 --- a/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild +++ b/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild @@ -21,6 +21,7 @@ RDEPEND=" " DEPEND="${RDEPEND} media-libs/freetype:2 + virtual/pkgconfig " src_prepare() { @@ -40,7 +41,8 @@ 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() { |