diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-09-17 18:21:15 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-09-17 18:21:15 +0000 |
commit | bb954f51b818a7f640bd58643b1a1b4e67c36b8c (patch) | |
tree | a8f2a42048686704d44b1cee347a703393ba8974 /games/cube | |
parent | Fix build with clang/libc++ (diff) |
Fix build on current
Notes
Notes:
svn path=/head/; revision=327500
Diffstat (limited to 'games/cube')
-rw-r--r-- | games/cube/Makefile | 1 | ||||
-rw-r--r-- | games/cube/files/patch-Makefile | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/games/cube/Makefile b/games/cube/Makefile index df50df42146f..924d61b236fb 100644 --- a/games/cube/Makefile +++ b/games/cube/Makefile @@ -18,6 +18,7 @@ USE_ZIP= yes USE_DOS2UNIX= yes USES= gmake ALL_TARGET= # +USE_XORG= x11 CFLAGS+= -fsigned-char WRKSRC= ${WRKDIR}/${PORTNAME}_source/src diff --git a/games/cube/files/patch-Makefile b/games/cube/files/patch-Makefile index 4717ba647d39..293a93db54bb 100644 --- a/games/cube/files/patch-Makefile +++ b/games/cube/files/patch-Makefile @@ -9,7 +9,7 @@ +CXXFLAGS+=$(CXXOPTFLAGS) -I$(LOCALBASE)/include `$(SDL_CONFIG) --cflags` -CLIENT_LIBS=-L../enet -lenet `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU -+CLIENT_LIBS=-L$(LOCALBASE)/lib -lenet `$(SDL_CONFIG) --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU ++CLIENT_LIBS=-L$(LOCALBASE)/lib -lenet `$(SDL_CONFIG) --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU -lX11 CLIENT_OBJS= \ client.o \ clientextras.o \ |