summaryrefslogtreecommitdiff
path: root/games/redeclipse16/files/patch-src_Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2021-05-29 19:06:14 +0300
committerDmitry Marakasov <amdmi3@FreeBSD.org>2021-06-01 20:34:50 +0300
commit758a5a0446ff438d0e65dbcd7a057baa747ec88f (patch)
tree29482dd1bb2268b1c9e0f1fa2b1d36586ea18aa1 /games/redeclipse16/files/patch-src_Makefile
parentgames/freeorion: fix build with boost 1.76 (diff)
games/redeclipse16: resurrect older version of redeclipse
As reported by one of the players, not everybody is happy with changes in latest Red Eclipse 2.0, so many are staying with 1.6. Resurrect redeclipse/redeclipse-data at version 1.6 for them.
Diffstat (limited to 'games/redeclipse16/files/patch-src_Makefile')
-rw-r--r--games/redeclipse16/files/patch-src_Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/redeclipse16/files/patch-src_Makefile b/games/redeclipse16/files/patch-src_Makefile
new file mode 100644
index 000000000000..95c5dfa2c78b
--- /dev/null
+++ b/games/redeclipse16/files/patch-src_Makefile
@@ -0,0 +1,13 @@
+--- src/Makefile.orig 2016-06-30 04:34:23 UTC
++++ src/Makefile
+@@ -82,8 +82,8 @@ else
+ BIN_SUFFIX=_native
+ endif
+ endif
+-CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl2-config --cflags`
+-CLIENT_LIBS= -Lenet -lenet -L/usr/X11R6/lib -lX11 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lz -lGL
++CLIENT_INCLUDES= $(INCLUDES) -I${LOCALBASE}/include `sdl2-config --cflags`
++CLIENT_LIBS= -Lenet -lenet -L${LOCALBASE}/lib -lX11 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lz -lGL
+ endif
+ ifneq (,$(findstring linux,$(PLATFORM)))
+ CLIENT_LIBS+= -lrt