db 5.0.21: fix cp argument portability
authorChris Larson <chris_larson@mentor.com>
Wed, 3 Nov 2010 17:19:32 +0000 (10:19 -0700)
committerChris Larson <chris_larson@mentor.com>
Thu, 4 Nov 2010 17:39:24 +0000 (10:39 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
recipes/db/db-5.0.21/cp.patch [new file with mode: 0644]
recipes/db/db_5.0.21.bb

diff --git a/recipes/db/db-5.0.21/cp.patch b/recipes/db/db-5.0.21/cp.patch
new file mode 100644 (file)
index 0000000..b916b06
--- /dev/null
@@ -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)
index a25b558..e602673 100644 (file)
@@ -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"