summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-13 21:28:15 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-13 21:28:15 +0000
commitf9fbfde7990b753dc16d69dc1e4865085058878a (patch)
tree0c4921158c14e67d1116e8b65619bd2bc7932274 /eclass
parentavoid multiple inclusions when possible to speed caching up (diff)
downloadgentoo-2-f9fbfde7990b753dc16d69dc1e4865085058878a.tar.gz
gentoo-2-f9fbfde7990b753dc16d69dc1e4865085058878a.tar.bz2
gentoo-2-f9fbfde7990b753dc16d69dc1e4865085058878a.zip
avoid multiple inclusions when possible to speed caching up
Diffstat (limited to 'eclass')
-rw-r--r--eclass/libtool.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass
index 097612eacc9e..2c4188b752eb 100644
--- a/eclass/libtool.eclass
+++ b/eclass/libtool.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/libtool.eclass,v 1.96 2011/11/18 17:32:14 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.97 2011/12/13 21:28:15 vapier Exp $
# @ECLASS: libtool.eclass
# @MAINTAINER:
@@ -14,6 +14,9 @@
# generated libtool files. We do not run the libtoolize program because that
# requires a regeneration of the main autotool files in order to work properly.
+if [[ ${___ECLASS_ONCE_LIBTOOL} != "recur -_+^+_- spank" ]] ; then
+___ECLASS_ONCE_LIBTOOL="recur -_+^+_- spank"
+
# If an overlay has eclass overrides, but doesn't actually override the
# libtool.eclass, we'll have ECLASSDIR pointing to the active overlay's
# eclass/ dir, but libtool.eclass is still in the main Gentoo tree. So
@@ -497,3 +500,5 @@ VER_to_int() {
echo 1
return 1
}
+
+fi