summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/bzflag/bzflag-2.0.4.20050930.ebuild')
-rw-r--r--games-action/bzflag/bzflag-2.0.4.20050930.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/games-action/bzflag/bzflag-2.0.4.20050930.ebuild b/games-action/bzflag/bzflag-2.0.4.20050930.ebuild
index efa829457e53..3fac7a9e63cb 100644
--- a/games-action/bzflag/bzflag-2.0.4.20050930.ebuild
+++ b/games-action/bzflag/bzflag-2.0.4.20050930.ebuild
@@ -1,8 +1,7 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/bzflag/bzflag-2.0.4.20050930.ebuild,v 1.1 2005/10/30 08:27:49 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/bzflag/bzflag-2.0.4.20050930.ebuild,v 1.2 2005/11/22 06:59:50 mr_bones_ Exp $
-GAMES_USE_SDL="nojoystick"
inherit eutils flag-o-matic games
DESCRIPTION="OpenGL accelerated 3d tank combat simulator game"
@@ -22,6 +21,13 @@ DEPEND=">=net-misc/curl-7.15.0
virtual/opengl
sdl? ( media-libs/libsdl ) )"
+pkg_setup() {
+ # comment in bug #107792
+ # only do the libsdl checks for !dedicated
+ use dedicated || GAMES_USE_SDL="nojoystick"
+ games_pkg_setup
+}
+
src_unpack() {
unpack ${A}
cd "${S}"