$OpenBSD: patch-tools_clang_utils_scan-build,v 1.1.1.1 2008/11/10 11:25:33 sthen Exp $ --- tools/clang/utils/scan-build.orig Tue Nov 4 00:22:12 2008 +++ tools/clang/utils/scan-build Sun Nov 9 22:58:06 2008 @@ -406,7 +406,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); @@ -416,7 +416,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);