summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-01-12 02:54:39 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-01-12 02:54:39 +0000
commitde8ae3b6cf796fdc4b3abe24aa676b4383917b68 (patch)
tree9fe2732349bb67ab5a82bb544eb17341ede1488f /games-fps/quake3
parentavoid building empty package when USE=-dedicated -opengl (diff)
downloadgentoo-2-de8ae3b6cf796fdc4b3abe24aa676b4383917b68.tar.gz
gentoo-2-de8ae3b6cf796fdc4b3abe24aa676b4383917b68.tar.bz2
gentoo-2-de8ae3b6cf796fdc4b3abe24aa676b4383917b68.zip
avoid building empty package when USE=-dedicated -opengl
(Portage version: 2.1.3.19)
Diffstat (limited to 'games-fps/quake3')
-rw-r--r--games-fps/quake3/quake3-9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/games-fps/quake3/quake3-9999.ebuild b/games-fps/quake3/quake3-9999.ebuild
index e421c3220467..cd5432954afb 100644
--- a/games-fps/quake3/quake3-9999.ebuild
+++ b/games-fps/quake3/quake3-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/quake3-9999.ebuild,v 1.14 2007/12/31 21:27:47 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/quake3-9999.ebuild,v 1.15 2008/01/12 02:54:39 mr_bones_ Exp $
# quake3-9999 -> latest svn
# quake3-9999.REV -> use svn REV
@@ -65,7 +65,7 @@ src_compile() {
buildit() { use $1 && echo 1 || echo 0 ; }
emake \
BUILD_SERVER=$(buildit dedicated) \
- BUILD_CLIENT=$(buildit opengl) \
+ BUILD_CLIENT=$(( $(buildit opengl) | $(buildit !dedicated) )) \
TEMPDIR="${T}" \
CC="$(tc-getCC)" \
ARCH=$(tc-arch-kernel) \