From 972dcfcdbfe75dcfeb777150c136576cf1a71e99 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 9 Oct 2015 22:59:03 +0200 Subject: initial commit for Enea Linux 5.0 arm Signed-off-by: Tudor Florea --- meta/recipes-support/gdbm/files/ptest.patch | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meta/recipes-support/gdbm/files/ptest.patch (limited to 'meta/recipes-support/gdbm/files/ptest.patch') diff --git a/meta/recipes-support/gdbm/files/ptest.patch b/meta/recipes-support/gdbm/files/ptest.patch new file mode 100644 index 0000000000..65236fb48b --- /dev/null +++ b/meta/recipes-support/gdbm/files/ptest.patch @@ -0,0 +1,36 @@ +Add install-ptest rules. + +Signed-off-by: Josep Puigdemont +Signed-off-by: Maxin B. John +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 ++ ++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 @@ + 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 \ ++ if [ -x .libs/$$file ]; then \ ++ $(INSTALL_PROGRAM) .libs/$$file $(DESTDIR)/$$file; \ ++ else \ ++ $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \ ++ fi \ ++ done -- cgit v1.2.3-54-g00ecf