From 2a2e6bb9dd6d1d46226246d2fd64fa74577bd835 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 10 Dec 2011 20:03:17 +0000 Subject: avoid multiple inclusions when possible to speed caching up --- eclass/portability.eclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'eclass/portability.eclass') diff --git a/eclass/portability.eclass b/eclass/portability.eclass index 54c7619e308a..5aee01e7ad48 100644 --- a/eclass/portability.eclass +++ b/eclass/portability.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/portability.eclass,v 1.21 2011/11/03 00:59:16 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/portability.eclass,v 1.22 2011/12/10 20:03:17 vapier Exp $ # # Author: Diego Pettenò # @@ -8,6 +8,9 @@ # # NB: If you add anything, please comment it! +if [[ ${___ECLASS_ONCE_PORTABILITY} != "recur -_+^+_- spank" ]] ; then +___ECLASS_ONCE_PORTABILITY="recur -_+^+_- spank" + # treecopy orig1 orig2 orig3 .... dest # # mimic cp --parents copy, but working on BSD userland as well @@ -130,3 +133,5 @@ get_mounts() { _dead_portability_user_funcs() { die "if you really need this, please file a bug for base-system@gentoo.org"; } is-login-disabled() { _dead_portability_user_funcs; } + +fi -- cgit v1.2.3-65-gdbad