aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-01-06 00:18:15 +0800
committeralepulver <alepulver@FreeBSD.org>2007-01-06 00:18:15 +0800
commit9e6be7d556b522fe04b3fcbfd3db8f625429af2e (patch)
treebd0d82d49af95c453f5b9fc795bc0509a065678a /games
parentf45319f50dd6b415effc2a09a245634bb9c941f5 (diff)
downloadfreebsd-ports-gnome-9e6be7d556b522fe04b3fcbfd3db8f625429af2e.tar.gz
freebsd-ports-gnome-9e6be7d556b522fe04b3fcbfd3db8f625429af2e.tar.zst
freebsd-ports-gnome-9e6be7d556b522fe04b3fcbfd3db8f625429af2e.zip
- Only define USE_GL when needed.
- Fix OPTIONS handling for GAME (was turned off by default some time ago).
Diffstat (limited to 'games')
-rw-r--r--games/qudos/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/qudos/Makefile b/games/qudos/Makefile
index 345f65ae5575..d8ce2beb6034 100644
--- a/games/qudos/Makefile
+++ b/games/qudos/Makefile
@@ -20,7 +20,6 @@ COMMENT= Enhaced OpenGL only Quake II engine
USE_BZIP2= yes
USE_GCC= 3.4+
-USE_GL= yes
USE_GMAKE= yes
OPTIONS= 3ZB2 "Build 3zb2 modification (bots)" on \
@@ -77,10 +76,6 @@ LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg \
USE_SDL= sdl
.endif
-.if !defined(WITHOUT_CLIENT)
-LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
-.endif
-
.if defined(WITH_ARTS)
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
MAKE_ENV+= BUILD_ARTS_SND=YES
@@ -92,6 +87,7 @@ PLIST_SUB+= ARTS="@comment "
.endif
.if !defined(WITHOUT_CLIENT)
+LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
MAKE_ENV+= BUILD_QUAKE2=YES
PLIST_SUB+= CLIENT=""
Q2BIN+= ${PORTNAME}
@@ -109,7 +105,7 @@ MAKE_ENV+= BUILD_DEDICATED=NO
PLIST_SUB+= DEDICATED="@comment "
.endif
-.if !defined(WITHOUT_GAME)
+.if defined(WITH_GAME)
MAKE_ENV+= BUILD_GAME=YES
PLIST_SUB+= GAME=""
.else