summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gdbm/files/ptest.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/gdbm/files/ptest.patch')
-rw-r--r--meta/recipes-support/gdbm/files/ptest.patch26
1 files changed, 15 insertions, 11 deletions
diff --git a/meta/recipes-support/gdbm/files/ptest.patch b/meta/recipes-support/gdbm/files/ptest.patch
index 1e67dbd554..25fb6bb2f4 100644
--- a/meta/recipes-support/gdbm/files/ptest.patch
+++ b/meta/recipes-support/gdbm/files/ptest.patch
@@ -1,4 +1,4 @@
1From 41448708e163c8ec1f980464e7dd6741db427c8a Mon Sep 17 00:00:00 2001 1From 8bea84a598b51a7ac7e50aa8f0f20857a9b6b07b Mon Sep 17 00:00:00 2001
2From: Josep Puigdemont <josep.puigdemont@enea.com> 2From: Josep Puigdemont <josep.puigdemont@enea.com>
3Date: Sun, 4 May 2014 16:02:07 +0200 3Date: Sun, 4 May 2014 16:02:07 +0200
4Subject: [PATCH] Add install-ptest rules. 4Subject: [PATCH] Add install-ptest rules.
@@ -9,16 +9,16 @@ Upstream-Status: Pending
9 9
10--- 10---
11 Makefile.am | 5 +++++ 11 Makefile.am | 5 +++++
12 tests/Makefile.am | 11 +++++++++++ 12 tests/Makefile.am | 12 ++++++++++++
13 2 files changed, 16 insertions(+) 13 2 files changed, 17 insertions(+)
14 14
15diff --git a/Makefile.am b/Makefile.am 15diff --git a/Makefile.am b/Makefile.am
16index ecc03df..9fbbda5 100644 16index 59e2643..5f3ceb0 100644
17--- a/Makefile.am 17--- a/Makefile.am
18+++ b/Makefile.am 18+++ b/Makefile.am
19@@ -55,3 +55,8 @@ ChangeLog: 19@@ -64,3 +64,8 @@ ChangeLog:
20 awk -f $(top_srcdir)/git2chg.awk \ 20 mv ChangeLog.tmp ChangeLog; \
21 -v append=$(top_srcdir)/$(prev_change_log) > ChangeLog; \ 21 rm -f ChangeLog.tmp; \
22 fi 22 fi
23+ 23+
24+install-ptest: 24+install-ptest:
@@ -26,13 +26,14 @@ index ecc03df..9fbbda5 100644
26+ $(MAKE) -C $$subdir DESTDIR=$(DESTDIR)/$$subdir $@; \ 26+ $(MAKE) -C $$subdir DESTDIR=$(DESTDIR)/$$subdir $@; \
27+ done 27+ done
28diff --git a/tests/Makefile.am b/tests/Makefile.am 28diff --git a/tests/Makefile.am b/tests/Makefile.am
29index dbe17dd..06f537f 100644 29index fac6826..5dc2091 100644
30--- a/tests/Makefile.am 30--- a/tests/Makefile.am
31+++ b/tests/Makefile.am 31+++ b/tests/Makefile.am
32@@ -169,3 +169,14 @@ EXTRA_DIST += \ 32@@ -143,3 +143,15 @@ d_creat_ce_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la
33 gdbmtool/base.exp\ 33 t_wordwrap_LDADD = ../tools/libgdbmapp.a
34 config/default.exp
35 34
35 SUBDIRS = gdbmtool
36+
36+buildtests: $(check_PROGRAMS) $(TESTSUITE) 37+buildtests: $(check_PROGRAMS) $(TESTSUITE)
37+ 38+
38+install-ptest: $(check_PROGRAMS) $(TESTSUITE) 39+install-ptest: $(check_PROGRAMS) $(TESTSUITE)
@@ -44,3 +45,6 @@ index dbe17dd..06f537f 100644
44+ $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \ 45+ $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \
45+ fi \ 46+ fi \
46+ done 47+ done
48--
492.25.1
50