commit:     fd90736ea1141e95c63a9634d424aa843454ca45
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 21 02:31:00 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Mar 30 18:14:52 2021 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=fd90736e

ebuild-writing/common-mistakes: give more information on invalid ${ROOT} usage

Bug: https://bugs.gentoo.org/775191
Signed-off-by: Sam James <sam <AT> gentoo.org>
[Add bug number to link text.]
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ebuild-writing/common-mistakes/text.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/ebuild-writing/common-mistakes/text.xml 
b/ebuild-writing/common-mistakes/text.xml
index d77b143..c92813f 100644
--- a/ebuild-writing/common-mistakes/text.xml
+++ b/ebuild-writing/common-mistakes/text.xml
@@ -31,8 +31,11 @@ this.
 <p>
 The usage of <c>ROOT</c> is only designed to influence the way the package is
 installed (ie. into <c>ROOT</c>) <d/> building and compiling should not depend
-on <c>ROOT</c>. As a consequence of this the usage of <c>ROOT</c> in
-<c>src_*</c> functions is not allowed.
+on <c>ROOT</c>. As a consequence of this, the usage of <c>ROOT</c> in
+<c>src_*</c> functions is not allowed. <c>pkgcheck</c> can now detect some
+such cases via its <c>MisplacedVariable</c> check.
+See <uri link="https://bugs.gentoo.org/775191";>bug 775191</uri> for more
+information.
 </p>
 
 <p>

Reply via email to