summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/db
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/db')
-rw-r--r--meta/recipes-support/db/db_6.0.35.bb14
1 files changed, 6 insertions, 8 deletions
diff --git a/meta/recipes-support/db/db_6.0.35.bb b/meta/recipes-support/db/db_6.0.35.bb
index 32afbe82d8..f60edf9566 100644
--- a/meta/recipes-support/db/db_6.0.35.bb
+++ b/meta/recipes-support/db/db_6.0.35.bb
@@ -87,7 +87,7 @@ MUTEX_arm = "${ARM_MUTEX}"
87MUTEX_armeb = "${ARM_MUTEX}" 87MUTEX_armeb = "${ARM_MUTEX}"
88EXTRA_OECONF += "${MUTEX}" 88EXTRA_OECONF += "${MUTEX}"
89EXTRA_OEMAKE_append_class-target = " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool" 89EXTRA_OEMAKE_append_class-target = " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"
90EXTRA_OEMAKE += "STRIP=true" 90EXTRA_OEMAKE += "STRIP=true docdir=${docdir}/db/"
91 91
92do_compile_prepend() { 92do_compile_prepend() {
93 # Stop libtool adding RPATHs 93 # Stop libtool adding RPATHs
@@ -101,14 +101,12 @@ do_install_append() {
101 ln -s db60/db.h ${D}/${includedir}/db.h 101 ln -s db60/db.h ${D}/${includedir}/db.h
102 ln -s db60/db_cxx.h ${D}/${includedir}/db_cxx.h 102 ln -s db60/db_cxx.h ${D}/${includedir}/db_cxx.h
103 103
104 # The docs end up in /usr/docs - not right. 104 # Prune the documentation to remove large (PDF) or pointless (Java) files.
105 if test -d "${D}/${prefix}/docs" 105 find ${D}${docdir} -name *.pdf -delete
106 then 106 rm -rf ${D}${docdir}/db/java
107 mkdir -p "${D}/${datadir}" 107 rm -rf ${D}${docdir}/db/csharp
108 test ! -d "${D}/${docdir}" || rm -rf "${D}/${docdir}"
109 mv "${D}/${prefix}/docs" "${D}/${docdir}"
110 fi
111 108
109 # The makefiles use cp -p, so we need to chmod until that is fixed.
112 chown -R root:root ${D} 110 chown -R root:root ${D}
113} 111}
114 112