games-simulation/simutrans: Fix Makefile.
This commit is contained in:
parent
d289e7ca86
commit
b9f52b3d4a
|
@ -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
|
|
@ -50,9 +50,7 @@ BDEPEND="
|
||||||
|
|
||||||
S=${WORKDIR}
|
S=${WORKDIR}
|
||||||
|
|
||||||
PATCHES=(
|
PATCHES=("${FILESDIR}/simutrans-0.122.0-Fix-Makefile.patch" )
|
||||||
"${FILESDIR}"/0.121.0-Remove_CFLAGS.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
unpack "simutrans-src-${MY_PV}.zip"
|
unpack "simutrans-src-${MY_PV}.zip"
|
||||||
|
|
Loading…
Reference in New Issue