ports/games/redeclipse16/files/patch-src_Makefile
Dmitry Marakasov 758a5a0446 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.
2021-06-01 20:34:50 +03:00

13 lines
555 B
Text

--- 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