From f87d90021b5cb2167af5fff6e4eec8c295df104d Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 31 Mar 2021 01:16:08 +0100 Subject: webapp.eclass: mark variables as @PRE_INHERIT * WEBAPP_NO_AUTO_INSTALL Modifies IUSE in global scope. * WEBAPP_OPTIONAL Modifies *DEPEND in global scope. Signed-off-by: Sam James --- eclass/webapp.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'eclass/webapp.eclass') diff --git a/eclass/webapp.eclass b/eclass/webapp.eclass index b0a8f7a34d4..6907ef1c321 100644 --- a/eclass/webapp.eclass +++ b/eclass/webapp.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: webapp.eclass @@ -16,12 +16,14 @@ WEBAPP_DEPEND=">=app-admin/webapp-config-1.50.15" # @ECLASS-VARIABLE: WEBAPP_NO_AUTO_INSTALL +# @PRE_INHERIT # @DESCRIPTION: # An ebuild sets this to `yes' if an automatic installation and/or upgrade is # not possible. The ebuild should overwrite pkg_postinst() and explain the # reason for this BEFORE calling webapp_pkg_postinst(). # @ECLASS-VARIABLE: WEBAPP_OPTIONAL +# @PRE_INHERIT # @DESCRIPTION: # An ebuild sets this to `yes' to make webapp support optional, in which case # you also need to take care of USE-flags and dependencies. -- cgit v1.2.3-18-g5258