]> code.ossystems Code Review - openembedded-core.git/commitdiff
pbzip2: Fix native dependency on bzip2-native
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Jun 2015 22:49:39 +0000 (23:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 27 Jun 2015 21:41:58 +0000 (22:41 +0100)
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@linuxfoundation.org>
meta/recipes-extended/pbzip2/pbzip2_1.1.12.bb

index fb70d0caa94f56c87d5100f0107579d0a06fcd15..0330981af3374899ab9bdc809c9d057f946ec6e2 100644 (file)
@@ -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"