avoid multiple inclusions when possible to speed caching up
authorMike Frysinger <vapier@gentoo.org>
Sat, 17 Dec 2011 04:23:53 +0000 (04:23 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 17 Dec 2011 04:23:53 +0000 (04:23 +0000)
eclass/pam.eclass
eclass/pax-utils.eclass

index 243ce3ffc9ea2fc410152198f30dca8cececfe4e..fd898cd5c10913ab1d5e8a9fd73fec4da28a8eb1 100644 (file)
@@ -1,11 +1,14 @@
 # Copyright 2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License, v2 or later
 # Author Diego Pettenò <flameeyes@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/pam.eclass,v 1.20 2011/07/08 11:35:01 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/pam.eclass,v 1.21 2011/12/17 04:20:52 vapier Exp $
 #
 # This eclass contains functions to install pamd configuration files and
 # pam modules.
 
+if [[ ${___ECLASS_ONCE_PAM} != "recur -_+^+_- spank" ]] ; then
+___ECLASS_ONCE_PAM="recur -_+^+_- spank"
+
 inherit multilib flag-o-matic
 
 # dopamd <file> [more files]
@@ -235,3 +238,5 @@ pam_epam_expand() {
 #
 #      eshopts_pop # reset old shell opts
 # }
+
+fi
index 368e4d6c8db610392498acef45dd7801331d529e..0dafc4ab88eec9720a5561d7056410d7613d1286 100644 (file)
@@ -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/pax-utils.eclass,v 1.16 2011/12/17 04:23:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/pax-utils.eclass,v 1.17 2011/12/17 04:23:53 vapier Exp $
 
 # @ECLASS: pax-utils.eclass
 # @MAINTAINER:
@@ -21,6 +21,9 @@
 # necessary utility is installed, the PT_PAX_FLAGS markings will be made.  If
 # PAX_MARKINGS is set to "none", no markings will be made.
 
+if [[ ${___ECLASS_ONCE_PAX_UTILS} != "recur -_+^+_- spank" ]] ; then
+___ECLASS_ONCE_PAX_UTILS="recur -_+^+_- spank"
+
 # Default to PT markings.
 PAX_MARKINGS=${PAX_MARKINGS:="PT"}
 
@@ -149,3 +152,4 @@ _pax_list_files() {
        done
 }
 
+fi