Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | this is a temporary patch to workaround cross compilation. |
| 2 | otherwise @PERL@ will be replaced to perl-native binary, |
| 3 | this creates unusable scripts and fails FILERDEPENDS mechanism |
| 4 | (esp. rpm) |
| 5 | |
| 6 | a better fix would need: |
| 7 | 1. configure.ac should differentiate PERL and HOSTPERL |
| 8 | 2. optionally remove ${STAGING_DIR} in #! line before do_install |
| 9 | |
| 10 | 8/31/2010 - created by Qing He <qing.he@intel.com> |
| 11 | |
| 12 | Upstream-Status: Inappropriate [configuration] |
| 13 | |
| 14 | diff --git a/cachegrind/cg_annotate.in b/cachegrind/cg_annotate.in |
| 15 | index 9dc9565..cc4ef05 100644 |
| 16 | --- a/cachegrind/cg_annotate.in |
| 17 | +++ b/cachegrind/cg_annotate.in |
| 18 | @@ -1,4 +1,4 @@ |
| 19 | -#! @PERL@ |
| 20 | +#! /usr/bin/perl |
| 21 | |
| 22 | ##--------------------------------------------------------------------## |
| 23 | ##--- Cachegrind's annotator. cg_annotate.in ---## |
| 24 | diff --git a/cachegrind/cg_diff.in b/cachegrind/cg_diff.in |
| 25 | index 951066e..84c2dde 100644 |
| 26 | --- a/cachegrind/cg_diff.in |
| 27 | +++ b/cachegrind/cg_diff.in |
| 28 | @@ -1,4 +1,4 @@ |
| 29 | -#! @PERL@ |
| 30 | +#! /usr/bin/perl |
| 31 | |
| 32 | ##--------------------------------------------------------------------## |
| 33 | ##--- Cachegrind's differencer. cg_diff.in ---## |
| 34 | diff --git a/massif/ms_print.in b/massif/ms_print.in |
| 35 | index e6ffdbf..fb45906 100755 |
| 36 | --- a/massif/ms_print.in |
| 37 | +++ b/massif/ms_print.in |
| 38 | @@ -1,4 +1,4 @@ |
| 39 | -#! @PERL@ |
| 40 | +#! /usr/bin/perl |
| 41 | |
| 42 | ##--------------------------------------------------------------------## |
| 43 | ##--- Massif's results printer ms_print.in ---## |
| 44 | diff --git a/perf/vg_perf.in b/perf/vg_perf.in |
| 45 | index 2188a31..83ad024 100644 |
| 46 | --- a/perf/vg_perf.in |
| 47 | +++ b/perf/vg_perf.in |
| 48 | @@ -1,4 +1,4 @@ |
| 49 | -#! @PERL@ |
| 50 | +#! /usr/bin/perl |
| 51 | ##--------------------------------------------------------------------## |
| 52 | ##--- Valgrind performance testing script vg_perf ---## |
| 53 | ##--------------------------------------------------------------------## |