diff options
author | 2020-10-21 23:22:21 +0300 | |
---|---|---|
committer | 2020-10-21 23:22:21 +0300 | |
commit | 4715ac85f51b2292a2ae655bf800d02e58bf5c3d (patch) | |
tree | 1dddda5ebce01577b39397bee1a7576084173406 /README.md | |
parent | sys-fs/gfs2-utils: fix Manifest (diff) | |
download | guru-4715ac85f51b2292a2ae655bf800d02e58bf5c3d.tar.gz guru-4715ac85f51b2292a2ae655bf800d02e58bf5c3d.tar.bz2 guru-4715ac85f51b2292a2ae655bf800d02e58bf5c3d.zip |
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@yandex.ru>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |