summarylogtreecommitdiffstats
path: root/extrae-Fix-references-to-the-build-directory.patch
blob: e0288058c83b1a48236bd327b2b6521b0dfc9daa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 34f3652fdbe58bb2224cb4ecf8a4ea08200a4034 Mon Sep 17 00:00:00 2001
From: Joan Bruguera <joanbrugueram@gmail.com>
Date: Sun, 22 Dec 2019 13:35:23 +0100
Subject: [PATCH] Fix references to the build directory that remain in the
 packages. (Fixes the "Package contains reference to $pkgdir" makepkg
 warning).

---
 src/others/Makefile.am     | 2 +-
 tests/overhead/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/overhead/Makefile.am b/tests/overhead/Makefile.am
index 67b3c92..093c177 100644
--- a/tests/overhead/Makefile.am
+++ b/tests/overhead/Makefile.am
@@ -72,7 +72,7 @@ install-data-hook:
 	$(MKDIR_P) $(DESTDIR)$(datadir)/tests/overhead
 	cp $(myFILES) $(DESTDIR)$(datadir)/tests/overhead
 	cp $(myPATH)/Makefile.tests.overhead $(DESTDIR)$(datadir)/tests/overhead/Makefile
-	$(BASE_DIR)/substitute $(SED) "@sub_EXTRAE_HOME@" "$(DESTDIR)$(prefix)" $(DESTDIR)$(datadir)/tests/overhead/run_overhead_tests.sh
+	$(BASE_DIR)/substitute $(SED) "@sub_EXTRAE_HOME@" "$(prefix)" $(DESTDIR)$(datadir)/tests/overhead/run_overhead_tests.sh
 if HAVE_PAPI
 	$(BASE_DIR)/substitute $(SED) "@sub_COUNTERS_OVERHEAD_TESTS@" "./extrae_eventandcounters ./papi_read1 ./papi_read4" $(DESTDIR)$(datadir)/tests/overhead/run_overhead_tests.sh
 endif
-- 
2.24.1