commit: f87d90021b5cb2167af5fff6e4eec8c295df104d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 31 00:16:08 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 31 02:02:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f87d9002
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 <sam <AT> gentoo.org>
eclass/webapp.eclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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.