Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] [PATCH] ebuild-writing/variables: better describe ROOT
Date: Mon, 16 May 2016 03:10:15
Message-Id: CAJ0EP42CAGB9q=epsaXwQy6iz7xW6ryqdzhrzG4JKpwWHJdtVg@mail.gmail.com
In Reply to: Re: [gentoo-dev] [PATCH] ebuild-writing/variables: better describe ROOT by "Göktürk Yüksek"
1 On Sat, May 14, 2016 at 5:35 PM, Göktürk Yüksek <gokturk@××××××××××.edu> wrote:
2 > Mike Gilbert:
3 >> The current description of ROOT makes no sense and just confuses
4 >> people. The new description is paraphrased from PMS. ---
5 >> ebuild-writing/variables/text.xml | 5 +++-- 1 file changed, 3
6 >> insertions(+), 2 deletions(-)
7 >>
8 >> diff --git a/ebuild-writing/variables/text.xml
9 >> b/ebuild-writing/variables/text.xml index ef15347..6ba6379 100644
10 >> --- a/ebuild-writing/variables/text.xml +++
11 >> b/ebuild-writing/variables/text.xml @@ -100,8 +100,9 @@ them. <tr>
12 >> <ti><c>ROOT</c></ti> <ti> - Path to the root directory. When
13 >> not using <c>${D}</c>, - always prepend <c>${ROOT}</c> to the
14 >> path. + The absolute path to the root directory into which the
15 >> package is to be merged. + Use this when refering to installed
16 >> files in <c>pkg_*</c> functions. + Never use this in
17 >> <c>src_*</c> functions. </ti> </tr> <tr>
18 >>
19 >
20 > Sorry for the late reply. There is actually a bug for this issue [0].
21 > I'll rebase the patch attached to the bug on top of yours if you have
22 > no technical objections to the content.
23 >
24 > [0] https://bugs.gentoo.org/show_bug.cgi?id=144332
25
26 The expanded explanation seems useful indeed.