summaryrefslogtreecommitdiff
path: root/lang/clang33/files/patch-tools_clang_tools_scan-build_scan-build
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2013-06-11 18:50:29 +0000
committerBrooks Davis <brooks@FreeBSD.org>2013-06-11 18:50:29 +0000
commit6839fd47fe84b020377a4f15366664480fe98b63 (patch)
tree91574cdc2ac64f284e051f5a6fef5dc392b02d73 /lang/clang33/files/patch-tools_clang_tools_scan-build_scan-build
parentUpdate to 4.8S.5. (diff)
Add ports of clang and LLVM 3.3.rc3. Unlike previous ports these
install primarily in ${PREFIX}/llvm33 with wrapper scripts in ${PREFIX}/bin named clang33, llc33, etc. In an additional change, the clang static analyzer's python wrapper and web bits are not installed.
Diffstat (limited to 'lang/clang33/files/patch-tools_clang_tools_scan-build_scan-build')
-rw-r--r--lang/clang33/files/patch-tools_clang_tools_scan-build_scan-build23
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/clang33/files/patch-tools_clang_tools_scan-build_scan-build b/lang/clang33/files/patch-tools_clang_tools_scan-build_scan-build
new file mode 100644
index 000000000000..291eafdeb2fc
--- /dev/null
+++ b/lang/clang33/files/patch-tools_clang_tools_scan-build_scan-build
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- tools/clang/tools/scan-build/scan-build.orig
++++ tools/clang/tools/scan-build/scan-build
+@@ -423,7 +423,7 @@
+
+ my $Dir = shift;
+
+- my $JS = Cwd::realpath("$RealBin/sorttable.js");
++ my $JS = Cwd::realpath("%%DATADIR%%/sorttable.js");
+
+ DieDiag("Cannot find 'sorttable.js'.\n")
+ if (! -r $JS);
+@@ -433,7 +433,7 @@
+ DieDiag("Could not copy 'sorttable.js' to '$Dir'.\n")
+ if (! -r "$Dir/sorttable.js");
+
+- my $CSS = Cwd::realpath("$RealBin/scanview.css");
++ my $CSS = Cwd::realpath("%%DATADIR%%/scanview.css");
+
+ DieDiag("Cannot find 'scanview.css'.\n")
+ if (! -r $CSS);