games-simulation/simutrans: Fix Makefile.

This commit is contained in:
tastytea 2020-10-23 16:00:47 +02:00
parent d289e7ca86
commit b9f52b3d4a
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 23 additions and 3 deletions

View File

@ -0,0 +1,22 @@
--- a/Makefile 2020-10-15 08:32:29.000000000 +0200
+++ b/Makefile 2020-10-23 15:57:17.517823272 +0200
@@ -17,8 +17,8 @@
SDL_CONFIG ?= sdl-config
SDL2_CONFIG ?= pkg-config sdl2
#SDL2_CONFIG ?= sdl2-config
-FREETYPE_CONFIG ?= freetype-config
-#FREETYPE_CONFIG ?= pkg-config freetype2
+#FREETYPE_CONFIG ?= freetype-config
+FREETYPE_CONFIG ?= pkg-config freetype2
BACKENDS = allegro gdi sdl sdl2 mixer_sdl mixer_sdl2 posix
OSTYPES = amiga beos freebsd haiku linux mingw mac openbsd
@@ -91,7 +91,5 @@
endif
endif
endif
-else
- CFLAGS += -O
endif
ifdef DEBUG

View File

@ -50,9 +50,7 @@ BDEPEND="
S=${WORKDIR}
PATCHES=(
"${FILESDIR}"/0.121.0-Remove_CFLAGS.patch
)
PATCHES=("${FILESDIR}/simutrans-0.122.0-Fix-Makefile.patch" )
src_unpack() {
unpack "simutrans-src-${MY_PV}.zip"