diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-03-25 01:11:32 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-03-25 01:11:32 +0000 |
commit | ebd067f789421e619f8a8effb204ed4899b5cad8 (patch) | |
tree | 9df8717ad3098ce0ff60a1cd67c530c3471779cf /games/redeclipse/files/patch-src_Makefile | |
parent | Data files for Red Eclipse first-person shooter. (diff) |
- Update to 1.5.0
Notes
Notes:
svn path=/head/; revision=382194
Diffstat (limited to 'games/redeclipse/files/patch-src_Makefile')
-rw-r--r-- | games/redeclipse/files/patch-src_Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/games/redeclipse/files/patch-src_Makefile b/games/redeclipse/files/patch-src_Makefile new file mode 100644 index 000000000000..cb9acca9d1f7 --- /dev/null +++ b/games/redeclipse/files/patch-src_Makefile @@ -0,0 +1,25 @@ +--- src/Makefile.orig 2015-03-22 02:34:16.000000000 +0300 ++++ src/Makefile 2015-03-24 22:21:53.223966000 +0300 +@@ -3,10 +3,9 @@ + APPSERVER=$(APPNAME)_server + + #CXXFLAGS= -ggdb3 +-CXXFLAGS= -O3 -fomit-frame-pointer -ffast-math + override CXXFLAGS+= -Wall -fsigned-char -fno-exceptions -fno-rtti + +-PLATFORM= $(shell gcc -dumpmachine) ++PLATFORM= $(shell ${CC} -dumpmachine) + + ifeq (,$(PLATFORM_BIN)) + ifneq (,$(findstring arm,$(PLATFORM))) +@@ -80,8 +79,8 @@ + BIN_SUFFIX=_native + endif + endif +-CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl-config --cflags` +-CLIENT_LIBS= -Lenet -lenet -L/usr/X11R6/lib -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL ++CLIENT_INCLUDES= $(INCLUDES) -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` ++CLIENT_LIBS= -Lenet -lenet -L${LOCALBASE}/include -lX11 `${SDL_CONFIG} --libs` -lSDL_image -lSDL_mixer -lz -lGL + endif + ifneq (,$(findstring linux,$(PLATFORM))) + CLIENT_LIBS+= -lrt |