commit: e2c175ac142dd62b687107a3aff5c41908d34ca9 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Sun Jan 12 07:28:48 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Jan 21 16:44:47 2020 +0000 URL: https://gitweb.gentoo.org/proj/policy-guide.git/commit/?id=e2c175ac
dependencies: include optfeature Still used from eutils.eclass before it gets built into EAPI. Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> Closes: https://github.com/gentoo/policy-guide/pull/3 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dependencies.rst | 5 +++-- 1 file 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.
