aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-11-03 10:19:32 -0700
committerChris Larson <chris_larson@mentor.com>2010-11-04 10:39:24 -0700
commit9cd6a9dcdb323334186f0fe7c4537cd9dc8a58b1 (patch)
treecc9da1f5f14ef0a9e540fb7905de40cffae910f2
parent72a44c7959d94d769939968a681f2c9f29f5b715 (diff)
downloadopenembedded-9cd6a9dcdb323334186f0fe7c4537cd9dc8a58b1.zip
openembedded-9cd6a9dcdb323334186f0fe7c4537cd9dc8a58b1.tar.gz
openembedded-9cd6a9dcdb323334186f0fe7c4537cd9dc8a58b1.tar.bz2
db 5.0.21: fix cp argument portability
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r--recipes/db/db-5.0.21/cp.patch15
-rw-r--r--recipes/db/db_5.0.21.bb5
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"