1 |
W dniu śro, 27.06.2018 o godzinie 06∶58 +0200, użytkownik Ulrich Mueller |
2 |
napisał: |
3 |
> > > > > > On Tue, 26 Jun 2018, Marty E Plummer wrote: |
4 |
> > Add dev-util/desktop-file-utils and x11-misc/shared-mime-info to BDEPEND |
5 |
> > as a number of executables which will need to be executed on the build |
6 |
> > host are included in them. |
7 |
> > Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
8 |
> > --- |
9 |
> > eclass/xdg.eclass | 3 ++- |
10 |
> > 1 file changed, 2 insertions(+), 1 deletion(-) |
11 |
> > diff --git a/eclass/xdg.eclass b/eclass/xdg.eclass |
12 |
> > index 2a4e1f81abf..fc4bee30ca5 100644 |
13 |
> > --- a/eclass/xdg.eclass |
14 |
> > +++ b/eclass/xdg.eclass |
15 |
> > @@ -26,6 +26,7 @@ DEPEND=" |
16 |
> > dev-util/desktop-file-utils |
17 |
> > x11-misc/shared-mime-info |
18 |
> > " |
19 |
> > +[[ ${EAPI:-0} == [0123456] ]] || BDEPEND="${DEPEND}" |
20 |
> |
21 |
> Are these also needed in DEPEND? If not, you should set DEPEND="" in |
22 |
> EAPI 7. |
23 |
> |
24 |
|
25 |
Technically, they don't belong in either because they're run |
26 |
in pkg_post* phases only. |
27 |
|
28 |
-- |
29 |
Best regards, |
30 |
Michał Górny |