[oe-commits] Richard Purdie : pbzip2: Fix native dependency on bzip2-native

git at git.openembedded.org git at git.openembedded.org
Fri Jun 26 23:01:25 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 3ed3e019eabf86b9e9c3940048316cf7770377fa
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3ed3e019eabf86b9e9c3940048316cf7770377fa

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Fri Jun 26 23:49:39 2015 +0100

pbzip2: Fix native dependency on bzip2-native

bzip2-native is in ASSUME_PROVIDED but we don't just want "bzip2" but
libbz2 here. To do this, we need to DEPEND on bzip2-replacement-native
which hints to bitbake we really do want to build it.

Add the missing dependency to avoid failures on machines which don't
have libbz2-dev installed.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/pbzip2/pbzip2_1.1.12.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/pbzip2/pbzip2_1.1.12.bb b/meta/recipes-extended/pbzip2/pbzip2_1.1.12.bb
index fb70d0c..0330981 100644
--- a/meta/recipes-extended/pbzip2/pbzip2_1.1.12.bb
+++ b/meta/recipes-extended/pbzip2/pbzip2_1.1.12.bb
@@ -9,6 +9,7 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4c4f2edec9679d5abef3514a816b54a4"
 
 DEPENDS = "bzip2"
+DEPENDS_append_class-native = " bzip2-replacement-native"
 
 SRC_URI = "https://launchpad.net/${BPN}/1.1/${PV}/+download/${BP}.tar.gz"
 



More information about the Openembedded-commits mailing list