From 9b7d00e4ceaf5038bde519a7f31db0c443ee8425 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 14 Dec 2011 16:33:13 +0000 Subject: [PATCH] avoid multiple inclusions when possible to speed caching up --- eclass/games.eclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.26.2