[oe] [PATCH] Fix htop do_configure: use DEPENDS="ncurses", not RDEPENDS="ncurses"

Bernhard Kaindl bernhard.kaindl at gmx.net
Sun Nov 22 11:22:28 UTC 2009


htop: Fix htop do_configure: Ensure that ncurses is staged

* htop's do_configure needs ncurses, but htop did only have an RDEPENDS
  on ncurses which only triggers a build of of ncurses after or in parallel
  to htop's do_configure, which is too late. Fix this:
  Since htop is dynamically linked against ncurces, OE detects the REDEPENDS
  to ncurses automatically and we can simply change the RDEPENDS to DEPENDS.

Signed-off-by: Bernhard Kaindl <bernhard.kaindl at gmx.net>

 htop_0.7.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes/htop/htop_0.7.bb b/recipes/htop/htop_0.7.bb
index 4a614bd..f3b3c96 100644
--- a/recipes/htop/htop_0.7.bb
+++ b/recipes/htop/htop_0.7.bb
@@ -4,7 +4,7 @@ SECTION = "console/utils"
 PRIORITY = "optional"
 LICENSE = "GPLv2"
 
-RDEPENDS = "ncurses"
+DEPENDS = "ncurses"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/htop/htop-${PV}.tar.gz \
            file://remove-proc-test.patch;patch=1"




More information about the Openembedded-devel mailing list