diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-14 16:33:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-14 16:33:13 +0000 |
commit | eed22821f25a39d048251e421cf8fe52dad87d13 (patch) | |
tree | 23049197dcf7bcd08ffbc576e9dab5cff0744425 /eclass/games.eclass | |
parent | Stable for AMD64, wrt bug #393075 (diff) | |
download | gentoo-2-eed22821f25a39d048251e421cf8fe52dad87d13.tar.gz gentoo-2-eed22821f25a39d048251e421cf8fe52dad87d13.tar.bz2 gentoo-2-eed22821f25a39d048251e421cf8fe52dad87d13.zip |
avoid multiple inclusions when possible to speed caching up
Diffstat (limited to 'eclass/games.eclass')
-rw-r--r-- | eclass/games.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass index 42b7822ee292..7b1a7b0fec9b 100644 --- a/eclass/games.eclass +++ b/eclass/games.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.144 2011/11/26 07:36:46 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.145 2011/12/14 16:33:13 vapier Exp $ # devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@gentoo.org # @@ -8,6 +8,9 @@ # you better have a *good* reason why you're *not* using games.eclass # in a games-* ebuild +if [[ ${___ECLASS_ONCE_GAMES} != "recur -_+^+_- spank" ]] ; then +___ECLASS_ONCE_GAMES="recur -_+^+_- spank" + inherit base multilib toolchain-funcs eutils user case ${EAPI:-0} in @@ -218,3 +221,5 @@ games_umod_unpack() { rm -f "${Ddir}"/System/{ucc-bin,{Manifest,Def{ault,User},User,UT200{3,4}}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int,ucc.log} &>/dev/null \ || die "Removing temporary files" } + +fi |