diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-11-22 06:59:50 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-11-22 06:59:50 +0000 |
commit | 3f9fd23cd4c9aa4f563d7d3bbe5c807c1fd1a492 (patch) | |
tree | b778fcba6affb79f3997d06ab9fe209a05103605 | |
parent | version bump (diff) | |
download | gentoo-2-3f9fd23cd4c9aa4f563d7d3bbe5c807c1fd1a492.tar.gz gentoo-2-3f9fd23cd4c9aa4f563d7d3bbe5c807c1fd1a492.tar.bz2 gentoo-2-3f9fd23cd4c9aa4f563d7d3bbe5c807c1fd1a492.zip |
only do the libsdl checks for !dedicated
(Portage version: 2.0.51.22-r3)
-rw-r--r-- | games-action/bzflag/bzflag-2.0.4.20050930.ebuild | 10 |
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}" |