mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
FHeroes2 recipe: little fixes
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user