summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/clang/ChangeLog8
-rw-r--r--sys-devel/clang/clang-2.6-r1.ebuild (renamed from sys-devel/clang/clang-2.6.ebuild)11
2 files changed, 16 insertions, 3 deletions
diff --git a/sys-devel/clang/ChangeLog b/sys-devel/clang/ChangeLog
index 358dc094486e..577188284f1c 100644
--- a/sys-devel/clang/ChangeLog
+++ b/sys-devel/clang/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/clang
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/ChangeLog,v 1.4 2009/10/26 20:08:58 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/ChangeLog,v 1.5 2009/10/27 12:12:35 voyageur Exp $
+
+*clang-2.6-r1 (27 Oct 2009)
+
+ 27 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org> -clang-2.6.ebuild,
+ +clang-2.6-r1.ebuild:
+ Install missing files for static analyzer, bug #290697
26 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org> clang-2.6.ebuild:
Add some comments, fix running tests. Now about 50 of them fail not
diff --git a/sys-devel/clang/clang-2.6.ebuild b/sys-devel/clang/clang-2.6-r1.ebuild
index b96bde14ccef..b0a72bb75423 100644
--- a/sys-devel/clang/clang-2.6.ebuild
+++ b/sys-devel/clang/clang-2.6-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-2.6.ebuild,v 1.3 2009/10/26 20:08:58 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-2.6-r1.ebuild,v 1.1 2009/10/27 12:12:35 voyageur Exp $
EAPI=2
inherit eutils python
@@ -33,10 +33,13 @@ src_prepare() {
sed -e "s#lib/clang/1.0#$(get_libdir)/clang/1.0#" \
-i "${S}"/tools/clang/lib/Headers/Makefile \
|| die "clang Makefile failed"
- # install python files as module
+ # fix the static analyzer for in-tree install
sed -e 's/import ScanView/from clang \0/' \
-i "${S}"/tools/clang/tools/scan-view/scan-view \
|| die "scan-view sed failed"
+ sed -e "/scanview.css\|sorttable.js/s#\$RealBin#/usr/share/${PN}#" \
+ -i "${S}"/tools/clang/utils/scan-build \
+ || die "scan-build sed failed"
# From llvm src_prepare
einfo "Fixing install dirs"
@@ -94,6 +97,10 @@ src_install() {
dobin utils/ccc-analyzer
dobin utils/scan-build
+ insinto /usr/share/${PN}
+ doins utils/scanview.css
+ doins utils/sorttable.js
+
cd tools/scan-view || "die cd scan-view failed"
dobin scan-view
python_version