diff --git a/games-rpg/fheroes2/fheroes2-r3182.recipe b/games-rpg/fheroes2/fheroes2-r3182.recipe index a9b098e4e..9e38cc47b 100644 --- a/games-rpg/fheroes2/fheroes2-r3182.recipe +++ b/games-rpg/fheroes2/fheroes2-r3182.recipe @@ -6,7 +6,7 @@ by PC Gamer magazine in May 1997. " SUMMARY="Free implementation of Heroes of the Might and Magic II engine." HOMEPAGE="http://sourceforge.net/projects/fheroes2/" -LICENSE="GNU GPL v2" # todo... +LICENSE="GNU GPL v2" COPYRIGHT="2006-2013 Andrey Afletdinov" SRC_URI="https://sourceforge.net/projects/fheroes2/files/fheroes2/fheroes2-src-r3182.tgz/download" CHECKSUM_MD5="bb6cad25a9a83c603d00f7d4a4cb5c92" diff --git a/games-rpg/fheroes2/patches/fheroes2-r3182.patch b/games-rpg/fheroes2/patches/fheroes2-r3182.patch index f359cdd3a..411e3f032 100644 --- a/games-rpg/fheroes2/patches/fheroes2-r3182.patch +++ b/games-rpg/fheroes2/patches/fheroes2-r3182.patch @@ -1,22 +1,14 @@ diff --git a/src/Makefile b/src/Makefile -index 430c5ab..979b3ba 100644 +index 430c5ab..481eecf 100644 --- a/src/Makefile +++ b/src/Makefile -@@ -8,7 +8,7 @@ SDL_FLAGS := $(shell sdl-config --cflags) - - CFLAGS := $(CFLAGS) -Wall -fsigned-char - LDFLAGS := $(LDFLAGS) --LIBS := -+LIBS := -lintl -liconv - - ifdef DEBUG - CFLAGS := $(CFLAGS) -O0 -g -pedantic -DWITH_DEBUG -@@ -70,6 +70,9 @@ endif +@@ -70,6 +70,10 @@ endif ifeq ($(OS),Linux) PLATFORM := all endif +ifeq ($(OS),Haiku) +PLATFORM := all ++LIBS := -lintl -liconv +endif endif