1 |
On 06/05/2018 01:26 AM, Michael Haubenwallner wrote: |
2 |
> On 06/04/2018 01:40 PM, Michał Górny wrote: |
3 |
>> I think the 'closest' thing to right would be to use BDEPEND+RDEPEND. |
4 |
>> It won't cover cross+binpkg but I guess it's as good as you can get. |
5 |
>> |
6 |
> |
7 |
> Having BDEPEND in RDEPEND will fix binpkg, but break cross again - which |
8 |
> BDEPEND aims to help firsthand (as far as I understood). |
9 |
> |
10 |
> To get both binpkg and cross working, although not combined together, |
11 |
> what about something like this workaround: |
12 |
> |
13 |
> EAPI=7 |
14 |
> IUSE="+bindist" |
15 |
> BDEPEND="some-cbuild/tool" |
16 |
> RDEPEND="bindist? ( ${BDEPEND} )" |
17 |
> |
18 |
> It should be easy for cross profiles to use.mask "bindist". |
19 |
> |
20 |
> For cross (without binpkg), BDEPEND should still be around during pkg_*inst, |
21 |
> even if not specified per PMS. |
22 |
|
23 |
If BDEPEND isn't around, you can use the emerge --with-bdeps=y option to |
24 |
handle this case. |
25 |
-- |
26 |
Thanks, |
27 |
Zac |