summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-10 20:03:17 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-10 20:03:17 +0000
commit9c3d8c0ef13c925c85eea42da6ed0e30fdbbf279 (patch)
tree6d917913bb170af29320b72a50c2960762c0fc79 /eclass/portability.eclass
parentMask dev-util/febootstrap before testing ends (diff)
downloadgentoo-2-9c3d8c0ef13c925c85eea42da6ed0e30fdbbf279.tar.gz
gentoo-2-9c3d8c0ef13c925c85eea42da6ed0e30fdbbf279.tar.bz2
gentoo-2-9c3d8c0ef13c925c85eea42da6ed0e30fdbbf279.zip
avoid multiple inclusions when possible to speed caching up
Diffstat (limited to 'eclass/portability.eclass')
-rw-r--r--eclass/portability.eclass7
1 files changed, 6 insertions, 1 deletions
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ò <flameeyes@gentoo.org>
#
@@ -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