openbsd-ports/devel/llvm/patches/patch-tools_clang_tools_scan-build_scan-build
2011-01-13 00:15:50 +00:00

22 lines
812 B
Plaintext

$OpenBSD: patch-tools_clang_tools_scan-build_scan-build,v 1.2 2011/01/13 00:15:50 jeremy Exp $
--- tools/clang/tools/scan-build/scan-build.orig Fri Mar 26 17:20:01 2010
+++ tools/clang/tools/scan-build/scan-build Thu Jan 6 13:36:35 2011
@@ -382,7 +382,7 @@ sub CopyFiles {
my $Dir = shift;
- my $JS = Cwd::realpath("$RealBin/sorttable.js");
+ my $JS = Cwd::realpath("${LOCALBASE}/share/llvm/sorttable.js");
DieDiag("Cannot find 'sorttable.js'.\n")
if (! -r $JS);
@@ -392,7 +392,7 @@ sub CopyFiles {
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("${LOCALBASE}/share/llvm/scanview.css");
DieDiag("Cannot find 'scanview.css'.\n")
if (! -r $CSS);