Created attachment 368354 [details, diff]
Currently mesa only DEPENDS (not RDEPENDS) on dev-libs/llvm, this leads to a situation where emerging dev-libs/mesa from BINPKG with llvm USE flag doesn't pull in dev-libs/llvm as a dependency.
Attaching proposed patches.
Also a question:
Does opencl USE flag require llvm as a runtime dep?
Created attachment 368356 [details, diff]
All repeated mentions of "dev-libs/llvm" in the initial comment should be assumed as "sys-devel/llvm". Mental typo.
Tried adding dev-libs/llvm as a RDEPEND to media-libs/mesa-9.1.6, but somewhy emerge --usepkg "=mesa-9.1.6" won't pick it up... have no idea why.
Oh, wow. I think we probably want to add this to RDEPEND only if llvm-shared-libs.
Fixed in 9.2.5-r1 and 10.0.3
My deployment script is one line shorter now.