diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-14 23:38:09 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-14 23:38:09 +0000 |
commit | 12513544d59bbe920aa532d13dcdd1b98af35987 (patch) | |
tree | b30efbd109005d29e394294bccb94b57caf53a02 /eclass/base.eclass | |
parent | arm stable, bug #393397 (diff) | |
download | gentoo-2-12513544d59bbe920aa532d13dcdd1b98af35987.tar.gz gentoo-2-12513544d59bbe920aa532d13dcdd1b98af35987.tar.bz2 gentoo-2-12513544d59bbe920aa532d13dcdd1b98af35987.zip |
avoid multiple inclusions when possible to speed caching up
Diffstat (limited to 'eclass/base.eclass')
-rw-r--r-- | eclass/base.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/base.eclass b/eclass/base.eclass index e32c50b6de03..db35dc7009ef 100644 --- a/eclass/base.eclass +++ b/eclass/base.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/base.eclass,v 1.54 2011/08/22 04:46:31 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.55 2011/12/14 23:38:09 vapier Exp $ # @ECLASS: base.eclass # @MAINTAINER: @@ -12,6 +12,9 @@ # The base eclass defines some default functions and variables. Nearly # everything else inherits from here. +if [[ ${___ECLASS_ONCE_BASE} != "recur -_+^+_- spank" ]] ; then +___ECLASS_ONCE_BASE="recur -_+^+_- spank" + inherit eutils BASE_EXPF="src_unpack src_compile src_install" @@ -184,3 +187,5 @@ base_src_install_docs() { popd > /dev/null } + +fi |