sys-devel/llvm: Fix typo in tblgen path, in 7.1.0
authorMichał Górny <mgorny@gentoo.org>
Sun, 12 May 2019 15:08:11 +0000 (17:08 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 12 May 2019 15:10:22 +0000 (17:10 +0200)
Closes: https://bugs.gentoo.org/685716
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-devel/llvm/llvm-7.1.0.ebuild

index 3fcb3fa117b41b545d485e927ac86c70ad05acb3..4571db6395170017f4dd6df1ae2ada2af141691a 100644 (file)
@@ -165,7 +165,7 @@ multilib_src_configure() {
        fi
 
        if tc-is-cross-compiler; then
-               local tblgen="${EPREFIX}/usr/lib/llvm/${SLOT%.*}/bin/llvm-tblgen"
+               local tblgen="${EPREFIX}/usr/lib/llvm/${SLOT%/*}/bin/llvm-tblgen"
                [[ -x "${tblgen}" ]] \
                        || die "${tblgen} not found or usable"
                mycmakeargs+=(