aboutsummaryrefslogtreecommitdiff
path: root/games/q2p
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2019-11-05 22:16:14 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2019-11-05 22:16:14 +0000
commitbe6c15b5c6de864408ba3f414a57f20ff622a2d0 (patch)
tree86bd1ae6afedaa57f4eef276444e85b00f8c8e63 /games/q2p
parent2428d822895b6225746f9e1d2bed3143711fcf14 (diff)
downloadports-be6c15b5c6de864408ba3f414a57f20ff622a2d0.tar.gz
ports-be6c15b5c6de864408ba3f414a57f20ff622a2d0.zip
Notes
Diffstat (limited to 'games/q2p')
-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