sys-devel/clang: Obtain version from llvm-config
authorMichał Górny <mgorny@gentoo.org>
Sat, 14 Jan 2017 14:43:27 +0000 (15:43 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 14 Jan 2017 18:12:30 +0000 (19:12 +0100)
commiteb353cbfc1c15d198710cd7f27f63298e3b13e27
treee966751564063dc2b4b59659ce0089dd7ac1a65b
parent4122696374ae961c8d55d6f61c031049955ca4fd
sys-devel/clang: Obtain version from llvm-config

Obtain the clang version that is used for paths and executable names
from llvm-config, instead of hardcoding it in ebuild. This matches
the method used in upstream code (obtaining it from CMake files),
and works both for release and live ebuilds.
sys-devel/clang/clang-9999.ebuild