On 06/05/2018 01:26 AM, Michael Haubenwallner wrote:
> On 06/04/2018 01:40 PM, Michał Górny wrote:
>> I think the 'closest' thing to right would be to use BDEPEND+RDEPEND. 
>> It won't cover cross+binpkg but I guess it's as good as you can get.
>>
> 
> Having BDEPEND in RDEPEND will fix binpkg, but break cross again - which
> BDEPEND aims to help firsthand (as far as I understood).
> 
> To get both binpkg and cross working, although not combined together,
> what about something like this workaround:
> 
> EAPI=7
> IUSE="+bindist"
> BDEPEND="some-cbuild/tool"
> RDEPEND="bindist? ( ${BDEPEND} )"
> 
> It should be easy for cross profiles to use.mask "bindist".
> 
> For cross (without binpkg), BDEPEND should still be around during pkg_*inst,
> even if not specified per PMS.

If BDEPEND isn't around, you can use the emerge --with-bdeps=y option to
handle this case.
-- 
Thanks,
Zac

Reply via email to