sys-libs/compiler-rt-sanitizers: Remove unnecessary LLVM_LIBDIR_SUFFIX
authorMichał Górny <mgorny@gentoo.org>
Sun, 15 Jan 2017 14:01:44 +0000 (15:01 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 15 Jan 2017 14:30:58 +0000 (15:30 +0100)
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild

index c933e533904465e57903fdea0e4922f2905c817a..212aa4b67ee2493ae67c830bc4799f75cf35305e 100644 (file)
@@ -23,8 +23,9 @@ KEYWORDS=""
 IUSE="test"
 
 RDEPEND="!<sys-devel/llvm-${PV}"
+# llvm-4 needed for --cmakedir
 DEPEND="${RDEPEND}
-       ~sys-devel/llvm-${PV}
+       >=sys-devel/llvm-4
        test? (
                app-portage/unsandbox
                $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
@@ -60,8 +61,6 @@ src_configure() {
        local clang_version=$(get_version_component_range 1-3 "${llvm_version}")
        local libdir=$(get_libdir)
        local mycmakeargs=(
-               # used to find cmake modules
-               -DLLVM_LIBDIR_SUFFIX="${libdir#lib}"
                -DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${clang_version}"
                # use a build dir structure consistent with install
                # this makes it possible to easily deploy test-friendly clang