1 |
On Tue, Sep 8, 2020 at 12:04 PM Michał Górny <mgorny@g.o> wrote: |
2 |
> On Tue, 2020-09-08 at 11:57 -0400, David Michael wrote: |
3 |
> > Signed-off-by: David Michael <fedora.dm0@×××××.com> |
4 |
> > --- |
5 |
> > eclass/acct-group.eclass | 6 +++++- |
6 |
> > 1 file changed, 5 insertions(+), 1 deletion(-) |
7 |
> > |
8 |
> > diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass |
9 |
> > index 19a378e0b06..56e6391ef42 100644 |
10 |
> > --- a/eclass/acct-group.eclass |
11 |
> > +++ b/eclass/acct-group.eclass |
12 |
> > @@ -34,8 +34,12 @@ |
13 |
> > if [[ -z ${_ACCT_GROUP_ECLASS} ]]; then |
14 |
> > _ACCT_GROUP_ECLASS=1 |
15 |
> > |
16 |
> > +# The groupadd utility is called in pkg_preinst. It should be in IDEPEND. |
17 |
> > case ${EAPI:-0} in |
18 |
> > - 7) ;; |
19 |
> > + 7) |
20 |
> > + BDEPEND="userland_GNU? ( sys-apps/shadow )" |
21 |
> |
22 |
> Nothing from shadow is used in src_install, so this BDEPEND is |
23 |
> unnecessary. |
24 |
|
25 |
It is a workaround for EAPI 7's lack of IDEPEND to attempt to handle |
26 |
cross-compiling, where RDEPEND alone would never attempt to install |
27 |
the package in the native root. Other packages and eclasses have been |
28 |
using this convention for the same reason (Emacs, fcaps.eclass, etc.). |
29 |
|
30 |
Thanks. |
31 |
|
32 |
David |