summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-14 17:27:16 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-14 17:27:16 +0000
commit0e2c66e7e71fe18171fcae699edb2cc8923ed47b (patch)
tree4759f96315e18a36a9d28ad942d87b82acd9bdd2 /eclass/eutils.eclass
parentThe games.eclass has dropped GAMES_CHECK_LICENSE support (since portage now h... (diff)
downloadgentoo-2-0e2c66e7e71fe18171fcae699edb2cc8923ed47b.tar.gz
gentoo-2-0e2c66e7e71fe18171fcae699edb2cc8923ed47b.tar.bz2
gentoo-2-0e2c66e7e71fe18171fcae699edb2cc8923ed47b.zip
avoid multiple inclusions when possible to speed caching up
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r--eclass/eutils.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 32c19a65bd46..55b01913f32d 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.370 2011/12/02 10:22:41 ferringb Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.371 2011/12/14 17:27:16 vapier Exp $
# @ECLASS: eutils.eclass
# @MAINTAINER:
@@ -15,6 +15,9 @@
# Due to the nature of this eclass, some functions may have maintainers
# different from the overall eclass!
+if [[ ${___ECLASS_ONCE_EUTILS} != "recur -_+^+_- spank" ]] ; then
+___ECLASS_ONCE_EUTILS="recur -_+^+_- spank"
+
inherit multilib portability user
DESCRIPTION="Based on the ${ECLASS} eclass"
@@ -1685,3 +1688,5 @@ use_if_iuse() {
# If USE flag is set, echo [true output][true suffix] (defaults to "yes"),
# otherwise echo [false output][false suffix] (defaults to "no").
usex() { use "$1" && echo "${2-yes}$4" || echo "${3-no}$5" ; } #382963
+
+fi