diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2008-01-12 02:54:39 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2008-01-12 02:54:39 +0000 |
commit | f65b4fd6eb1e375a0964b9b2ec0fac3437525c55 (patch) | |
tree | 25db12bf166975535b218efca6be0dca86935816 /games-fps | |
parent | avoid building empty package when USE=-dedicated -opengl (diff) | |
download | historical-f65b4fd6eb1e375a0964b9b2ec0fac3437525c55.tar.gz historical-f65b4fd6eb1e375a0964b9b2ec0fac3437525c55.tar.bz2 historical-f65b4fd6eb1e375a0964b9b2ec0fac3437525c55.zip |
avoid building empty package when USE=-dedicated -opengl
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/quake3/quake3-1.34_rc3.ebuild | 4 | ||||
-rw-r--r-- | games-fps/quake3/quake3-9999.ebuild | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/games-fps/quake3/quake3-1.34_rc3.ebuild b/games-fps/quake3/quake3-1.34_rc3.ebuild index 0f4febeaad01..4ca74fcf3d2d 100644 --- a/games-fps/quake3/quake3-1.34_rc3.ebuild +++ b/games-fps/quake3/quake3-1.34_rc3.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-1.34_rc3.ebuild,v 1.7 2007/06/22 02:06:59 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/quake3-1.34_rc3.ebuild,v 1.8 2008/01/12 02:53:11 mr_bones_ Exp $ # quake3-9999 -> latest svn # quake3-9999.REV -> use svn REV @@ -66,7 +66,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) \ 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) \ |