dev-libs/libclc: Fix possible llvm/clang slot mismatch, #615754
authorMichał Górny <mgorny@gentoo.org>
Mon, 26 Jun 2017 21:27:57 +0000 (23:27 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 26 Jun 2017 21:35:14 +0000 (23:35 +0200)
commit2b646d380fc697aeaa6279e22163f7fdb3fea9c2
tree5bdba76a5938ed253a7529013a7ba9d904a08c77
parentefa85a615223237e80d221cf1d55dc2e39e91cb4
dev-libs/libclc: Fix possible llvm/clang slot mismatch, #615754

Ensure that the LLVM slot with matching clang version is always used.
Otherwise, if you have a newer LLVM slot without clang, and an older
slot with clang, libclc got paths from the newer llvm-config and was
unable to find clang. Now the ebuild finds clang first, and uses
the llvm-config installed alongside it.
dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild