gdbm: update to 1.13

Rebase ptest.patch.

(From OE-Core rev: 1e04e38101dd0a05b37c1b3ca9b4298ac01e75b6)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin 2017-05-10 12:35:23 +03:00 committed by Richard Purdie
parent 4fc6c60a66
commit c0c090cfed
2 changed files with 29 additions and 15 deletions

View File

@ -1,30 +1,41 @@
Add install-ptest rules.
From 4e4b70a4a3dcf1fdbee9e68bed3b62f42b197a3a Mon Sep 17 00:00:00 2001
From: Josep Puigdemont <josep.puigdemont@enea.com>
Date: Sun, 4 May 2014 16:02:07 +0200
Subject: [PATCH] Add install-ptest rules.
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Maxin B. John <maxin.john@enea.com>
Upstream-Status: Pending
diff -ur a/Makefile.am b/Makefile.am
--- a/Makefile.am 2011-08-16 10:13:10.000000000 +0200
+++ b/Makefile.am 2013-04-12 18:02:16.473715873 +0200
@@ -31,3 +31,8 @@
d=`date '+%d/%m/%Y'`; \
sed 's|/\*@DIST_DATE@\*/|"'"$$d"'"|' $(srcdir)/src/version.c > \
$(distdir)/src/version.c
---
Makefile.am | 5 +++++
tests/Makefile.am | 12 +++++++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 4cdc734..24b99f0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,3 +45,8 @@ ChangeLog:
awk -f $(top_srcdir)/git2chg.awk \
-v append=$(top_srcdir)/$(prev_change_log) > ChangeLog; \
fi
+
+install-ptest:
+ @for subdir in $(SUBDIRS); do \
+ $(MAKE) -C $$subdir DESTDIR=$(DESTDIR)/$$subdir $@; \
+ done
diff -ur a/tests/Makefile.am b/tests/Makefile.am
--- a/tests/Makefile.am 2011-11-11 19:39:42.000000000 +0100
+++ b/tests/Makefile.am 2013-04-12 18:30:57.066301037 +0200
@@ -132,4 +132,14 @@
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 3dbb580..22ffc44 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -130,4 +130,14 @@ dtfetch_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la
dtdel_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la
d_creat_ce_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la
-
+buildtests: $(check_PROGRAMS) $(TESTSUITE)
+
+install-ptest: $(check_PROGRAMS) $(TESTSUITE)
+ @$(INSTALL) -d $(DESTDIR)
+ @for file in $^; do \
@ -34,3 +45,6 @@ diff -ur a/tests/Makefile.am b/tests/Makefile.am
+ $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \
+ fi \
+ done
--
2.11.0

View File

@ -10,8 +10,8 @@ SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
file://ptest.patch \
"
SRC_URI[md5sum] = "9ce96ff4c99e74295ea19040931c8fb9"
SRC_URI[sha256sum] = "d97b2166ee867fd6ca5c022efee80702d6f30dd66af0e03ed092285c3af9bcea"
SRC_URI[md5sum] = "8929dcda2a8de3fd2367bdbf66769376"
SRC_URI[sha256sum] = "9d252cbd7d793f7b12bcceaddda98d257c14f4d1890d851c386c37207000a253"
inherit autotools gettext texinfo lib_package ptest