summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-04-06 09:42:44 +0200
committerMichał Górny <mgorny@gentoo.org>2017-04-06 14:47:56 +0200
commita895b4764f99fc7f8f17ea4a966bc80bff283391 (patch)
treef6264be5e7360c100aca294449194fb7b735b671 /sys-devel
parentsys-devel/clang: Fix installing extra tool docs to docdir (diff)
downloadgentoo-a895b4764f99fc7f8f17ea4a966bc80bff283391.tar.gz
gentoo-a895b4764f99fc7f8f17ea4a966bc80bff283391.tar.bz2
gentoo-a895b4764f99fc7f8f17ea4a966bc80bff283391.zip
sys-devel/clang: Fix incorrect +x on scan-build.1 manpage
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/clang/clang-4.0.0-r1.ebuild2
-rw-r--r--sys-devel/clang/clang-9999.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys-devel/clang/clang-4.0.0-r1.ebuild b/sys-devel/clang/clang-4.0.0-r1.ebuild
index b8ce12c11d4d..703190f0bf5e 100644
--- a/sys-devel/clang/clang-4.0.0-r1.ebuild
+++ b/sys-devel/clang/clang-4.0.0-r1.ebuild
@@ -296,4 +296,6 @@ multilib_src_install_all() {
docompress "/usr/lib/llvm/${SLOT}/share/man"
# match 'html' non-compression
use doc && docompress -x "/usr/share/doc/${PF}/tools-extra"
+ # +x for some reason; TODO: investigate
+ use static-analyzer && fperms a-x "/usr/lib/llvm/${SLOT}/share/man/man1/scan-build.1"
}
diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
index cd95492a02c5..c28114fd1a91 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -293,4 +293,6 @@ multilib_src_install_all() {
docompress "/usr/lib/llvm/${SLOT}/share/man"
# match 'html' non-compression
use doc && docompress -x "/usr/share/doc/${PF}/tools-extra"
+ # +x for some reason; TODO: investigate
+ use static-analyzer && fperms a-x "/usr/lib/llvm/${SLOT}/share/man/man1/scan-build.1"
}