diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/gdbm/files/ptest.patch | 40 | ||||
-rw-r--r-- | meta/recipes-support/gdbm/gdbm_1.13.bb (renamed from meta/recipes-support/gdbm/gdbm_1.12.bb) | 4 |
2 files changed, 29 insertions, 15 deletions
diff --git a/meta/recipes-support/gdbm/files/ptest.patch b/meta/recipes-support/gdbm/files/ptest.patch index 65236fb48b..b9461bec6b 100644 --- a/meta/recipes-support/gdbm/files/ptest.patch +++ b/meta/recipes-support/gdbm/files/ptest.patch | |||
@@ -1,30 +1,41 @@ | |||
1 | Add install-ptest rules. | 1 | From 4e4b70a4a3dcf1fdbee9e68bed3b62f42b197a3a Mon Sep 17 00:00:00 2001 |
2 | From: Josep Puigdemont <josep.puigdemont@enea.com> | ||
3 | Date: Sun, 4 May 2014 16:02:07 +0200 | ||
4 | Subject: [PATCH] Add install-ptest rules. | ||
2 | 5 | ||
3 | Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> | 6 | Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> |
4 | Signed-off-by: Maxin B. John <maxin.john@enea.com> | 7 | Signed-off-by: Maxin B. John <maxin.john@enea.com> |
5 | Upstream-Status: Pending | 8 | Upstream-Status: Pending |
6 | 9 | ||
7 | diff -ur a/Makefile.am b/Makefile.am | 10 | --- |
8 | --- a/Makefile.am 2011-08-16 10:13:10.000000000 +0200 | 11 | Makefile.am | 5 +++++ |
9 | +++ b/Makefile.am 2013-04-12 18:02:16.473715873 +0200 | 12 | tests/Makefile.am | 12 +++++++++++- |
10 | @@ -31,3 +31,8 @@ | 13 | 2 files changed, 16 insertions(+), 1 deletion(-) |
11 | d=`date '+%d/%m/%Y'`; \ | 14 | |
12 | sed 's|/\*@DIST_DATE@\*/|"'"$$d"'"|' $(srcdir)/src/version.c > \ | 15 | diff --git a/Makefile.am b/Makefile.am |
13 | $(distdir)/src/version.c | 16 | index 4cdc734..24b99f0 100644 |
17 | --- a/Makefile.am | ||
18 | +++ b/Makefile.am | ||
19 | @@ -45,3 +45,8 @@ ChangeLog: | ||
20 | awk -f $(top_srcdir)/git2chg.awk \ | ||
21 | -v append=$(top_srcdir)/$(prev_change_log) > ChangeLog; \ | ||
22 | fi | ||
14 | + | 23 | + |
15 | +install-ptest: | 24 | +install-ptest: |
16 | + @for subdir in $(SUBDIRS); do \ | 25 | + @for subdir in $(SUBDIRS); do \ |
17 | + $(MAKE) -C $$subdir DESTDIR=$(DESTDIR)/$$subdir $@; \ | 26 | + $(MAKE) -C $$subdir DESTDIR=$(DESTDIR)/$$subdir $@; \ |
18 | + done | 27 | + done |
19 | diff -ur a/tests/Makefile.am b/tests/Makefile.am | 28 | diff --git a/tests/Makefile.am b/tests/Makefile.am |
20 | --- a/tests/Makefile.am 2011-11-11 19:39:42.000000000 +0100 | 29 | index 3dbb580..22ffc44 100644 |
21 | +++ b/tests/Makefile.am 2013-04-12 18:30:57.066301037 +0200 | 30 | --- a/tests/Makefile.am |
22 | @@ -132,4 +132,14 @@ | 31 | +++ b/tests/Makefile.am |
32 | @@ -130,4 +130,14 @@ dtfetch_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la | ||
23 | dtdel_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la | 33 | dtdel_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la |
24 | d_creat_ce_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la | 34 | d_creat_ce_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la |
25 | 35 | ||
36 | - | ||
26 | +buildtests: $(check_PROGRAMS) $(TESTSUITE) | 37 | +buildtests: $(check_PROGRAMS) $(TESTSUITE) |
27 | 38 | + | |
28 | +install-ptest: $(check_PROGRAMS) $(TESTSUITE) | 39 | +install-ptest: $(check_PROGRAMS) $(TESTSUITE) |
29 | + @$(INSTALL) -d $(DESTDIR) | 40 | + @$(INSTALL) -d $(DESTDIR) |
30 | + @for file in $^; do \ | 41 | + @for file in $^; do \ |
@@ -34,3 +45,6 @@ diff -ur a/tests/Makefile.am b/tests/Makefile.am | |||
34 | + $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \ | 45 | + $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \ |
35 | + fi \ | 46 | + fi \ |
36 | + done | 47 | + done |
48 | -- | ||
49 | 2.11.0 | ||
50 | |||
diff --git a/meta/recipes-support/gdbm/gdbm_1.12.bb b/meta/recipes-support/gdbm/gdbm_1.13.bb index c380073c35..4bbe147df5 100644 --- a/meta/recipes-support/gdbm/gdbm_1.12.bb +++ b/meta/recipes-support/gdbm/gdbm_1.13.bb | |||
@@ -10,8 +10,8 @@ SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \ | |||
10 | file://ptest.patch \ | 10 | file://ptest.patch \ |
11 | " | 11 | " |
12 | 12 | ||
13 | SRC_URI[md5sum] = "9ce96ff4c99e74295ea19040931c8fb9" | 13 | SRC_URI[md5sum] = "8929dcda2a8de3fd2367bdbf66769376" |
14 | SRC_URI[sha256sum] = "d97b2166ee867fd6ca5c022efee80702d6f30dd66af0e03ed092285c3af9bcea" | 14 | SRC_URI[sha256sum] = "9d252cbd7d793f7b12bcceaddda98d257c14f4d1890d851c386c37207000a253" |
15 | 15 | ||
16 | inherit autotools gettext texinfo lib_package ptest | 16 | inherit autotools gettext texinfo lib_package ptest |
17 | 17 | ||