[oe-commits] Chris Larson : db 5.0.21: fix cp argument portability

git version control git at git.openembedded.org
Thu Nov 4 17:44:53 UTC 2010


Module: openembedded.git
Branch: master
Commit: 9cd6a9dcdb323334186f0fe7c4537cd9dc8a58b1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9cd6a9dcdb323334186f0fe7c4537cd9dc8a58b1

Author: Chris Larson <chris_larson at mentor.com>
Date:   Wed Nov  3 10:19:32 2010 -0700

db 5.0.21: fix cp argument portability

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 recipes/db/db-5.0.21/cp.patch |   15 +++++++++++++++
 recipes/db/db_5.0.21.bb       |    5 +++--
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/recipes/db/db-5.0.21/cp.patch b/recipes/db/db-5.0.21/cp.patch
new file mode 100644
index 0000000..b916b06
--- /dev/null
+++ b/recipes/db/db-5.0.21/cp.patch
@@ -0,0 +1,15 @@
+---
+ Makefile.in |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- dist.orig/Makefile.in
++++ dist/Makefile.in
+@@ -1116,7 +1116,7 @@ install_docs:
+	    ($(MKDIR) -p $(DESTDIR)$(docdir) && \
+	    $(CHMOD) $(dmode) $(DESTDIR)$(docdir))
+	@cd $(DESTDIR)$(docdir) && $(RM) -r $(DOCLIST)
+-	@cd $(srcdir)/docs && $(CP) -pr $(DOCLIST) $(DESTDIR)$(docdir)/
++	@cd $(srcdir)/docs && $(CP) -pR $(DOCLIST) $(DESTDIR)$(docdir)/
+
+ uninstall_docs:
+	@cd $(DESTDIR)$(docdir) && $(RM) -r $(DOCLIST)
diff --git a/recipes/db/db_5.0.21.bb b/recipes/db/db_5.0.21.bb
index a25b558..e602673 100644
--- a/recipes/db/db_5.0.21.bb
+++ b/recipes/db/db_5.0.21.bb
@@ -1,4 +1,4 @@
-PR = "r1"
+PR = "r2"
 
 # major version number
 PVM = "5.0"
@@ -9,7 +9,8 @@ DB5_CONFIG ?= "--enable-o_direct --disable-cryptography --disable-queue --disabl
 
 require db5.inc
 
-SRC_URI += "file://db5-arm-thumb-mutex.patch"
+SRC_URI += "file://db5-arm-thumb-mutex.patch \
+            file://cp.patch"
 
 SRC_URI[md5sum] = "9a749fd2e98fe15840493ddc34cc66d8"
 SRC_URI[sha256sum] = "061a31a962e992dd1eae5f1e3193241d497a18968e750707526d104b53ab3cc4"





More information about the Openembedded-commits mailing list