aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-09-18 02:21:15 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-09-18 02:21:15 +0800
commitb77e8ff857ec46b5fc6bda58eb6aca8f2dcfc2f3 (patch)
treea8f2a42048686704d44b1cee347a703393ba8974
parentaf06778f620eb4a35d95dad93658c56d2247195f (diff)
downloadfreebsd-ports-gnome-b77e8ff857ec46b5fc6bda58eb6aca8f2dcfc2f3.tar.gz
freebsd-ports-gnome-b77e8ff857ec46b5fc6bda58eb6aca8f2dcfc2f3.tar.zst
freebsd-ports-gnome-b77e8ff857ec46b5fc6bda58eb6aca8f2dcfc2f3.zip
Fix build on current
-rw-r--r--games/cube/Makefile1
-rw-r--r--games/cube/files/patch-Makefile2
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 \