summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-31 01:16:08 +0100
committerSam James <sam@gentoo.org>2021-03-31 03:02:38 +0100
commitf87d90021b5cb2167af5fff6e4eec8c295df104d (patch)
treea6ca9d0b6d23810afd0370575582655c2c4bb05d /eclass/webapp.eclass
parentcheck-reqs.eclass: fix @INTERNAL/@DESCRIPTION order (diff)
downloadgentoo-f87d90021b5cb2167af5fff6e4eec8c295df104d.tar.gz
gentoo-f87d90021b5cb2167af5fff6e4eec8c295df104d.tar.bz2
gentoo-f87d90021b5cb2167af5fff6e4eec8c295df104d.zip
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@gentoo.org>
Diffstat (limited to 'eclass/webapp.eclass')
-rw-r--r--eclass/webapp.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/webapp.eclass b/eclass/webapp.eclass
index b0a8f7a34d4d..6907ef1c321d 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.