1From d85cc45e0ddeda68adf594dead715964cb32d0e7 Mon Sep 17 00:00:00 2001 2From: Qing He <qing.he@intel.com> 3Date: Tue, 31 Aug 2010 22:51:58 +0800 4Subject: [PATCH] valgrind: fix perl scripts 5 6this is a temporary patch to workaround cross compilation. 7otherwise @PERL@ will be replaced to perl-native binary, 8this creates unusable scripts and fails FILERDEPENDS mechanism 9(esp. rpm) 10 11a better fix would need: 12 1. configure.ac should differentiate PERL and HOSTPERL 13 2. optionally remove ${STAGING_DIR} in #! line before do_install 14 158/31/2010 - created by Qing He <qing.he@intel.com> 16 17Upstream-Status: Inappropriate [configuration] 18 19Signed-off-by: Maxin B. John <maxin.john@intel.com> 20--- 21 cachegrind/cg_annotate.in | 2 +- 22 cachegrind/cg_diff.in | 2 +- 23 massif/ms_print.in | 2 +- 24 perf/vg_perf.in | 2 +- 25 tests/vg_regtest.in | 2 +- 26 5 files changed, 5 insertions(+), 5 deletions(-) 27 28diff --git a/cachegrind/cg_annotate.in b/cachegrind/cg_annotate.in 29index fea114b..5e814fd 100644 30--- a/cachegrind/cg_annotate.in 31+++ b/cachegrind/cg_annotate.in 32@@ -1,4 +1,4 @@ 33-#! @PERL@ 34+#! /usr/bin/perl 35 36 ##--------------------------------------------------------------------## 37 ##--- Cachegrind's annotator. cg_annotate.in ---## 38diff --git a/cachegrind/cg_diff.in b/cachegrind/cg_diff.in 39index 9d9258e..d0f0ec7 100755 40--- a/cachegrind/cg_diff.in 41+++ b/cachegrind/cg_diff.in 42@@ -1,4 +1,4 @@ 43-#! @PERL@ 44+#! /usr/bin/perl 45 46 ##--------------------------------------------------------------------## 47 ##--- Cachegrind's differencer. cg_diff.in ---## 48diff --git a/massif/ms_print.in b/massif/ms_print.in 49index a206ce4..df1bc31 100755 50--- a/massif/ms_print.in 51+++ b/massif/ms_print.in 52@@ -1,4 +1,4 @@ 53-#! @PERL@ 54+#! /usr/bin/perl 55 56 ##--------------------------------------------------------------------## 57 ##--- Massif's results printer ms_print.in ---## 58diff --git a/perf/vg_perf.in b/perf/vg_perf.in 59index 90ee1d2..c585096 100644 60--- a/perf/vg_perf.in 61+++ b/perf/vg_perf.in 62@@ -1,4 +1,4 @@ 63-#! @PERL@ 64+#! /usr/bin/perl 65 ##--------------------------------------------------------------------## 66 ##--- Valgrind performance testing script vg_perf ---## 67 ##--------------------------------------------------------------------## 68diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in 69index 0fe6341..1b45eb7 100755 70--- a/tests/vg_regtest.in 71+++ b/tests/vg_regtest.in 72@@ -1,4 +1,4 @@ 73-#! @PERL@ 74+#! /usr/bin/perl 75 ##--------------------------------------------------------------------## 76 ##--- Valgrind regression testing script vg_regtest ---## 77 ##--------------------------------------------------------------------## 78-- 792.29.2 80 81