summaryrefslogtreecommitdiff
path: root/games/q2p/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/q2p/Makefile')
-rw-r--r--games/q2p/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/q2p/Makefile b/games/q2p/Makefile
index f1e95b96ff80..04548c4e757b 100644
--- a/games/q2p/Makefile
+++ b/games/q2p/Makefile
@@ -11,7 +11,7 @@ DISTNAME= Q2P-0.2-2006-12-31
MAINTAINER= danfe@FreeBSD.org
COMMENT= Enhanced OpenGL-only Quake II engine
-USES= gmake tar:bzip2
+USES= gmake tar:bzip2 xorg
USE_XORG= xxf86dga xext xxf86vm x11
ALL_TARGET= release
@@ -37,11 +37,12 @@ SDLGL_DESC= Build SDL OpenGL renderer
.if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MSDLGL}
LIB_DEPENDS+= libpng.so:graphics/png
-USES+= jpeg
+USES+= gl jpeg
USE_GL= glu
.endif
.if ${PORT_OPTIONS:MSDL} || ${PORT_OPTIONS:MSDLGL}
+USES+= sdl
USE_SDL= sdl
.endif