summaryrefslogtreecommitdiffstats
path: root/openembedded
diff options
context:
space:
mode:
authorChris Lord <chris@openedhand.com>2006-01-31 22:12:56 +0000
committerChris Lord <chris@openedhand.com>2006-01-31 22:12:56 +0000
commit27700c91dd31d47332e6533241982d856772e08b (patch)
tree78f4d0cefb8d81089ffb8b09040fd91e433a9763 /openembedded
parent96c29fa222fa7ca6d530fb636d1477325f39d4b5 (diff)
downloadast2050-yocto-poky-27700c91dd31d47332e6533241982d856772e08b.zip
ast2050-yocto-poky-27700c91dd31d47332e6533241982d856772e08b.tar.gz
Fix db 4.1.25 building with eds-dbus, breaks db3/db4 co-existence
git-svn-id: https://svn.o-hand.com/repos/poky@244 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded')
-rw-r--r--openembedded/packages/db/db_4.1.25.bb20
1 files changed, 5 insertions, 15 deletions
diff --git a/openembedded/packages/db/db_4.1.25.bb b/openembedded/packages/db/db_4.1.25.bb
index 168dde4..381c69a 100644
--- a/openembedded/packages/db/db_4.1.25.bb
+++ b/openembedded/packages/db/db_4.1.25.bb
@@ -12,7 +12,7 @@ SECTION = "libs"
DESCRIPTION = "Berkeley DB v4."
HOMEPAGE = "http://www.sleepycat.com"
LICENSE = "BSD Sleepycat"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://downloads.sleepycat.com/${P}.tar.gz"
@@ -36,7 +36,7 @@ S = "${WORKDIR}/${P}/build_unix"
PACKAGES += " ${PN}-bin"
# Package contents
-FILES_${PN} = "${libdir}/libdb-4*so*"
+FILES_${PN} = "${libdir}/libdb*so*"
FILES_${PN}-bin = "${bindir}"
# The dev package has the .so link (as in db3) and the .a's -
# it is therefore incompatible (cannot be installed at the
@@ -68,20 +68,10 @@ do_configure() {
}
do_stage() {
- # The .h files get installed read-only, the autostage
- # function just uses cp -pPR, so do this by hand
- # Install, for the moment, into include/db4 to avoid
- # interfering with the db3 headers (which have the same
- # name). -I${STAGING_INCDIR}/db4 to use db4, as opposed
- # to db3
-
- rm -rf ${STAGE_TEMP}
- mkdir -p ${STAGE_TEMP}
- oe_runmake DESTDIR="${STAGE_TEMP}" includedir="${STAGE_TEMP}${includedir}" install_include
- mkdir -p ${STAGING_INCDIR}/db4
- cp -pPRf ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}/db4
- rm -rf ${STAGE_TEMP}
+ oe_runmake DESTDIR="${STAGING_DIR}/${BUILD_SYS}" includedir="${STAGING_INCDIR}" install_include
oe_libinstall -so -C .libs libdb-4.1 ${STAGING_LIBDIR}
+ ln -s ${STAGING_LIBDIR}/libdb-4.1.so ${STAGING_LIBDIR}/libdb-4.so
+ ln -s ${STAGING_LIBDIR}/libdb-4.so ${STAGING_LIBDIR}/libdb.so
}
do_install() {
OpenPOWER on IntegriCloud