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

index fd1f907da74d8ed2a408ae78f61816f3d5044e1f..4f6d080ee475426b98587a9bf7f54a09142e219a 100644 (file)
@@ -24,9 +24,10 @@ KEYWORDS=""
 IUSE="test"
 
 RDEPEND="
-       !<sys-devel/llvm-4.0"
+       !<sys-devel/llvm-4"
+# llvm-4 needed for --cmakedir
 DEPEND="${RDEPEND}
-       ~sys-devel/llvm-${PV}
+       >=sys-devel/llvm-4
        test? ( ~sys-devel/clang-${PV} )
        ${PYTHON_DEPS}"
 
@@ -54,8 +55,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