diff options
author | brooks <brooks@FreeBSD.org> | 2014-09-27 09:25:57 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2014-09-27 09:25:57 +0800 |
commit | 5e15328a813b80f3330ccbbbac9a9b00914996c7 (patch) | |
tree | 8666359d67d4249dacab083db00f4ff51770760e /lang/clang33/files | |
parent | c71361a824a313e8fcd4b1767d08c4120c64b2eb (diff) | |
download | freebsd-ports-gnome-5e15328a813b80f3330ccbbbac9a9b00914996c7.tar.gz freebsd-ports-gnome-5e15328a813b80f3330ccbbbac9a9b00914996c7.tar.zst freebsd-ports-gnome-5e15328a813b80f3330ccbbbac9a9b00914996c7.zip |
Install scan-view dependencies.
Tell the user the correct scan-view to run.
PR: 193955
Sponsored by: DARPA, AFRL
Diffstat (limited to 'lang/clang33/files')
-rw-r--r-- | lang/clang33/files/llvm-wrapper.sh.in | 1 | ||||
-rw-r--r-- | lang/clang33/files/patch-tools_clang_tools_scan-build_scan-build | 13 |
2 files changed, 12 insertions, 2 deletions
diff --git a/lang/clang33/files/llvm-wrapper.sh.in b/lang/clang33/files/llvm-wrapper.sh.in index 0a460f3156e5..f2b952f530dd 100644 --- a/lang/clang33/files/llvm-wrapper.sh.in +++ b/lang/clang33/files/llvm-wrapper.sh.in @@ -6,5 +6,6 @@ LLVM_SUFFIX="%%LLVM_SUFFIX%%" tool=$(basename $0) tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" +PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${LLVM_PREFIX}/lib/python" \ LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" 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 index 291eafdeb2fc..e3fc664d62b3 100644 --- a/lang/clang33/files/patch-tools_clang_tools_scan-build_scan-build +++ b/lang/clang33/files/patch-tools_clang_tools_scan-build_scan-build @@ -3,7 +3,7 @@ $FreeBSD$ --- tools/clang/tools/scan-build/scan-build.orig +++ tools/clang/tools/scan-build/scan-build -@@ -423,7 +423,7 @@ +@@ -410,7 +410,7 @@ my $Dir = shift; @@ -12,7 +12,7 @@ $FreeBSD$ DieDiag("Cannot find 'sorttable.js'.\n") if (! -r $JS); -@@ -433,7 +433,7 @@ +@@ -420,7 +420,7 @@ DieDiag("Could not copy 'sorttable.js' to '$Dir'.\n") if (! -r "$Dir/sorttable.js"); @@ -21,3 +21,12 @@ $FreeBSD$ DieDiag("Cannot find 'scanview.css'.\n") if (! -r $CSS); +@@ -844,7 +844,7 @@ + my $Num = scalar(@Index); + Diag("$Num bugs found.\n"); + if ($Num > 0 && -r "$Dir/index.html") { +- Diag("Run 'scan-view $Dir' to examine bug reports.\n"); ++ Diag("Run 'scan-view%%LLVM_SUFFIX%% $Dir' to examine bug reports.\n"); + } + + DiagCrashes($Dir) if (scalar @failures || scalar @attributes_ignored); |