diff options
Diffstat (limited to 'games/assaultcube/files/patch-source_src_Makefile')
-rw-r--r-- | games/assaultcube/files/patch-source_src_Makefile | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/games/assaultcube/files/patch-source_src_Makefile b/games/assaultcube/files/patch-source_src_Makefile index 1261a5b05cc8..b5899ff4e382 100644 --- a/games/assaultcube/files/patch-source_src_Makefile +++ b/games/assaultcube/files/patch-source_src_Makefile @@ -1,29 +1,27 @@ ---- source/src/Makefile.orig 2010-11-15 00:46:24.000000000 +0600 -+++ source/src/Makefile 2010-11-30 07:29:06.000000000 +0600 -@@ -1,9 +1,8 @@ - //CXX=g++-gcc-4.2.3 +--- source/src/Makefile.orig 2013-10-09 23:35:27.000000000 +0400 ++++ source/src/Makefile 2013-10-11 02:18:50.000000000 +0400 +@@ -1,8 +1,7 @@ -CXXFLAGS= -O3 -fomit-frame-pointer override CXXFLAGS+= -Wall -fsigned-char PLATFORM= $(shell uname -s) -PLATFORM_PREFIX=native -+PLATFORM_PREFIX= FreeBSD ++PLATFORM_PREFIX=FreeBSD INCLUDES= -I. -Ibot -I../enet/include -@@ -24,9 +23,9 @@ +@@ -21,8 +20,8 @@ else USRLIB=$(shell if [ -e /usr/lib64 ]; then echo "/usr/lib64"; else echo "/usr/lib"; fi) override CXXFLAGS+= -rdynamic -CLIENT_INCLUDES= $(INCLUDES) -I/usr/include `sdl-config --cflags` -idirafter ../include -+CLIENT_INCLUDES= $(INCLUDES) `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include -idirafter ../include - # -lSDL_ttf --CLIENT_LIBS= -L../enet/.libs -lenet -L$(USRLIB) `sdl-config --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile -+CLIENT_LIBS= -L../enet/.libs -lenet `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib -lSDL_image -lz -lGL -lopenal -lvorbisfile -lintl +-CLIENT_LIBS= -L../enet/.libs -lenet -L$(USRLIB) -lX11 `sdl-config --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile -lcurl ++CLIENT_INCLUDES= $(INCLUDES) -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` -idirafter ../include ++CLIENT_LIBS= -L../enet/.libs -lenet -L${LOCALBASE}/lib -lX11 `${SDL_CONFIG} --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile -lcurl -lintl endif CLIENT_OBJS= \ -@@ -92,8 +91,8 @@ +@@ -86,8 +85,8 @@ SERVER_INCLUDES= -DSTANDALONE $(INCLUDES) -I../include SERVER_LIBS= -L../lib -lzdll -lenet -llibintl -lws2_32 -lwinmm else |