[meta-virtualization] [m-c-s][PATCH] erlang-native: Add DEPENDS for ncurses-native

Mark Asselstine mark.asselstine at windriver.com
Wed Aug 23 12:20:39 PDT 2017


This was most likely being provided by another pkg pulling in
ncurses-native before erlang-native was being built. With RSS this is
no longer the case and we need to add the explicit DEPENDS. Without
this we are seeing erlang-native fail to configure:

| checking for tgetent in -lncurses... no
| checking for tgetent in -lcurses... no
| checking for tgetent in -ltermcap... no
| checking for tgetent in -ltermlib... no
| configure: error: No curses library functions found

While we are at it we drop the setting of PR as this will be handled
by the PR server.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 meta-openstack/recipes-devtools/erlang/erlang-native_R16B03-1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-openstack/recipes-devtools/erlang/erlang-native_R16B03-1.bb b/meta-openstack/recipes-devtools/erlang/erlang-native_R16B03-1.bb
index ca6a48f..61fc027 100644
--- a/meta-openstack/recipes-devtools/erlang/erlang-native_R16B03-1.bb
+++ b/meta-openstack/recipes-devtools/erlang/erlang-native_R16B03-1.bb
@@ -2,7 +2,7 @@ include erlang.inc
 
 inherit native
 
-PR = "r0"
+DEPENDS += "ncurses-native"
 
 EXTRA_OECONF = '--without-ssl'
 
-- 
2.7.4



More information about the meta-virtualization mailing list