From e2c175ac142dd62b687107a3aff5c41908d34ca9 Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Sun, 12 Jan 2020 09:28:48 +0200 Subject: dependencies: include optfeature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Still used from eutils.eclass before it gets built into EAPI. Signed-off-by: Joonas Niilola Closes: https://github.com/gentoo/policy-guide/pull/3 Signed-off-by: Michał Górny --- 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. -- cgit v1.2.3-65-gdbad