mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
Install a missing piece of scan-build. [1] Submitted by: Pawel Worach <pawel dot worach at gmail dot com> [1]
23 lines
601 B
Text
23 lines
601 B
Text
|
|
$FreeBSD$
|
|
|
|
--- tools/clang/utils/scan-build.orig
|
|
+++ tools/clang/utils/scan-build
|
|
@@ -406,7 +406,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);
|
|
@@ -410,7 +410,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);
|