sys-devel/llvm: fix 3.7.0_rc clang install, bug #558624
authorBernard Cafarelli <voyageur@gentoo.org>
Tue, 25 Aug 2015 06:49:47 +0000 (08:49 +0200)
committerBernard Cafarelli <voyageur@gentoo.org>
Tue, 25 Aug 2015 08:34:17 +0000 (10:34 +0200)
Package-Manager: portage-2.2.20.1

sys-devel/llvm/llvm-3.7.0_rc2.ebuild

index 3ea912fa72db97a135ce853008789693b6fb8a20..4d6f42838e43dcb7a23b4bc0256b676d67d4804b 100644 (file)
@@ -363,7 +363,7 @@ src_install() {
 
        if use clang; then
                # note: magic applied in multilib_src_install()!
-               CLANG_VERSION=${PN%.*}
+               CLANG_VERSION=${PV%.*}
 
                MULTILIB_CHOST_TOOLS+=(
                        /usr/bin/clang
@@ -386,8 +386,8 @@ multilib_src_install() {
        cmake-utils_src_install
 
        if multilib_is_native_abi; then
-               # Install docs.
-               #use doc && dohtml -r "${S}"/docs/_build/html/
+               # Install man pages.
+               #use doc || doman "${WORKDIR}"/${P}-manpages/*.1
 
                # Symlink the gold plugin.
                if use gold; then