Skip to contentSkip to conversation

db: use S/B more idiomatically

PATCH New Ross Burton 1 participant 1 message Feb 24, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 db: use S/B more idiomatically

Instead of setting S to a directory inside the tarball and B to another directory inside the tarball, use the default value of S and set AUTOTOOLS_SCRIPT_PATH to the right path to find configure.

Rebase two patches to reflect the change of patch root.

For some reason doing this results in the libtool binary appearing at the wrong place, so always point LIBTOOL at the one in the sysroot and remove the sed which doesn't seem to have a reason (added in a484b3 without explanation in 2013).

---
 ...akefile-let-libso_target-depend-on-bt_rec.patch |  4 +-
 .../recipes-support/db/db/fix-parallel-build.patch |  4 +-
 meta/recipes-support/db/db_6.0.30.bb               | 52 +++++++++-------------
 3 files changed, 25 insertions(+), 35 deletions(-)
meta/recipes-support/db/db/Makefile-let-libso_target-depend-on-bt_rec.patch +2 -2
index 329bff5..9ec117a 100644
@@ -17,8 +17,8 @@ Signed-off-by: Robert Yang <[email protected]>
 
 diff --git a/Makefile.in b/Makefile.in
 index e451f70..0a42375 100644
---- a/Makefile.in
-+++ b/Makefile.in
+--- db/dist/Makefile.in
++++ db/dist/Makefile.in
 @@ -863,7 +863,7 @@ $(libdb_version): $(C_OBJS)
  	$(LN) -s $(libdb_version) $(libdb)
  
meta/recipes-support/db/db/fix-parallel-build.patch +2 -2
index 2c7f1e1..88bc6b3 100644
@@ -6,8 +6,8 @@ Upstream-Status: Pending
 
 Signed-off-by: Martin Jansa <[email protected]>
 
---- dist.orig/Makefile.in	2012-05-11 19:57:48.000000000 +0200
-+++ dist/Makefile.in	2013-10-31 18:17:11.875532522 +0100
+--- db/dist.orig/Makefile.in	2012-05-11 19:57:48.000000000 +0200
++++ db/dist/Makefile.in	2013-10-31 18:17:11.875532522 +0100
 @@ -1034,7 +1034,7 @@
  	    db_recover@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
  	$(POSTLINK) $@
meta/recipes-support/db/db_6.0.30.bb +21 -31

94 lines not on this page · raw message

Signature · 1 line
2.7.0