summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-01-12 09:28:48 +0200
committerMichał Górny <mgorny@gentoo.org>2020-01-21 17:44:47 +0100
commite2c175ac142dd62b687107a3aff5c41908d34ca9 (patch)
treedbe8d62ae8106babf6b5435a3e3d24ae30316d02
parentdependencies: =-deps with no revision (diff)
downloadpolicy-guide-e2c175ac142dd62b687107a3aff5c41908d34ca9.tar.gz
policy-guide-e2c175ac142dd62b687107a3aff5c41908d34ca9.tar.bz2
policy-guide-e2c175ac142dd62b687107a3aff5c41908d34ca9.zip
dependencies: include optfeature
Still used from eutils.eclass before it gets built into EAPI. Signed-off-by: Joonas Niilola <juippis@gentoo.org> Closes: https://github.com/gentoo/policy-guide/pull/3 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dependencies.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/dependencies.rst b/dependencies.rst
index 51038be..38f4147 100644
--- a/dependencies.rst
+++ b/dependencies.rst
@@ -16,8 +16,9 @@ being nonfunctional unless at least one of a set of optional runtime
dependencies is installed.
There is no specific preference as to how user should be informed
-of optional runtime dependencies. The two possible options include
-using ``elog`` messages and ``readme.gentoo-r1`` eclass.
+of optional runtime dependencies. Three possible ways are
+``optfeature`` from ``eutils`` eclass, ``readme.gentoo-r1`` eclass
+and plain ``elog`` messages.
*Rationale*: toggling USE flags in order to enable or disable optional
runtime dependencies causes needless rebuilds of packages in question.