summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/strace/strace-4.8/Makefile-ptest.patch17
1 files changed, 15 insertions, 2 deletions
diff --git a/meta/recipes-devtools/strace/strace-4.8/Makefile-ptest.patch b/meta/recipes-devtools/strace/strace-4.8/Makefile-ptest.patch
index f5556b23e3..3a0eb39375 100644
--- a/meta/recipes-devtools/strace/strace-4.8/Makefile-ptest.patch
+++ b/meta/recipes-devtools/strace/strace-4.8/Makefile-ptest.patch
@@ -1,11 +1,13 @@
1strace: Add ptest 1strace: Add ptest
2 2
3Upstream-Status: Inappropriate
4
3Signed-off-by: Gabriel Barbu <gabriel.barbu@enea.com> 5Signed-off-by: Gabriel Barbu <gabriel.barbu@enea.com>
4Upstream-Status: Pending 6Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
5 7
6--- old/tests/Makefile.am 2013-07-23 13:44:24.660481381 +0200 8--- old/tests/Makefile.am 2013-07-23 13:44:24.660481381 +0200
7+++ new/tests/Makefile.am 2013-07-23 16:22:42.937654391 +0200 9+++ new/tests/Makefile.am 2013-07-23 16:22:42.937654391 +0200
8@@ -9,3 +9,20 @@ 10@@ -9,3 +9,21 @@
9 EXTRA_DIST = init.sh $(TESTS) 11 EXTRA_DIST = init.sh $(TESTS)
10 12
11 CLEANFILES = check.log 13 CLEANFILES = check.log
@@ -18,6 +20,7 @@ Upstream-Status: Pending
18+ install -d $(DESTDIR)/$(TESTDIR) 20+ install -d $(DESTDIR)/$(TESTDIR)
19+ cp $(BUILDDIR)/$(TESTDIR)/Makefile $(DESTDIR)/$(TESTDIR) 21+ cp $(BUILDDIR)/$(TESTDIR)/Makefile $(DESTDIR)/$(TESTDIR)
20+ sed -i -e 's/^Makefile:/_Makefile:/' $(DESTDIR)/$(TESTDIR)/Makefile 22+ sed -i -e 's/^Makefile:/_Makefile:/' $(DESTDIR)/$(TESTDIR)/Makefile
23+ sed -i -e 's/bash/sh/' $(DESTDIR)/$(TESTDIR)/Makefile
21+ for file in $(check_PROGRAMS); do \ 24+ for file in $(check_PROGRAMS); do \
22+ install $(BUILDDIR)/$(TESTDIR)/$$file $(DESTDIR)/$(TESTDIR); \ 25+ install $(BUILDDIR)/$(TESTDIR)/$$file $(DESTDIR)/$(TESTDIR); \
23+ done 26+ done
@@ -26,3 +29,13 @@ Upstream-Status: Pending
26+ sed -i -e 's/$${srcdir=.}/./g' $(DESTDIR)/$(TESTDIR)/$$file; \ 29+ sed -i -e 's/$${srcdir=.}/./g' $(DESTDIR)/$(TESTDIR)/$$file; \
27+ done 30+ done
28+ sed -i -e 's/$$srcdir/./g' $(DESTDIR)/$(TESTDIR)/net 31+ sed -i -e 's/$$srcdir/./g' $(DESTDIR)/$(TESTDIR)/net
32--- a/configure.ac
33+++ b/configure.ac
34@@ -6,7 +6,7 @@ AC_INIT([strace],
35 AC_CONFIG_SRCDIR([strace.c])
36 AC_CONFIG_AUX_DIR([.])
37 AC_CONFIG_HEADERS([config.h])
38-AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip silent-rules])
39+AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip silent-rules serial-tests])
40 AM_MAINTAINER_MODE
41 AC_CANONICAL_HOST