commit:     4715ac85f51b2292a2ae655bf800d02e58bf5c3d
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Wed Oct 21 20:22:21 2020 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Wed Oct 21 20:22:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4715ac85

README.md: update reference to optfeature function

The `optfeature` function early was within `eutils.eclass`
that is now deprecated. This function is moved
to `optfeature.eclass`.

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 518506a4..d8d5226a 100644
--- a/README.md
+++ b/README.md
@@ -137,7 +137,7 @@ See the [dev 
manual](https://devmanual.gentoo.org/eclass-reference/distutils-r1.
 
 Installation of small files, like documentation, completions, man pages, etc, 
does not have to be toggle-able with an USE flag. Instead, just install these 
files unconditionally. This avoids unnecessary recompilations when an user 
forgot to enable a flag that installs a small file.
 
-The same holds for optional runtime dependencies. It is not necessary to 
introduce a USE flag, that does not alter the compiled binary and just pulls in 
an extra optional runtime dependency. Instead, you can notify the user of these 
optional runtime dependencies with the `optfeature` function from the 
[eutils](https://devmanual.gentoo.org/eclass-reference/eutils.eclass/) eclass. 
If, for whatever reason, it is still desired to introduce an USE flag for 
optional runtime dependencies, one can still use the `optfeature` function as 
well to allow the user to choose to avoid recompiling a package.
+The same holds for optional runtime dependencies. It is not necessary to 
introduce a USE flag, that does not alter the compiled binary and just pulls in 
an extra optional runtime dependency. Instead, you can notify the user of these 
optional runtime dependencies with the `optfeature` function from the 
[optfeature](https://devmanual.gentoo.org/eclass-reference/optfeature.eclass/) 
eclass (early from currently deprecated 
[eutils](https://devmanual.gentoo.org/eclass-reference/eutils.eclass/) eclass). 
If, for whatever reason, it is still desired to introduce an USE flag for 
optional runtime dependencies, one can still use the `optfeature` function as 
well to allow the user to choose to avoid recompiling a package.
 
 
 ## Useful Links <a name="links"></a>

Reply via email to