mg: fix build when host system does not have libncurses-dev
authorBen Shelton <ben.shelton@ni.com>
Fri, 15 Aug 2014 15:09:03 +0000 (10:09 -0500)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:41:40 +0000 (08:41 -0800)
commitbff9cc8cad060ffff2cfa150680a2e797639054c
treed1a77e397b3a23dbdcbf2ab3429f7afc60251468
parent0585c63f99fe6f7be853eec1dbab57ea7c850246
mg: fix build when host system does not have libncurses-dev

The configure script for mg checks the standard locations under /usr for
the term.h header file needed to build against ncurses; however, in the
OE cross-compile case, this is not valid, since the file will be under
the sysroot instead.  This causes the configure step to fail when the
build machine does not have the libncurses-dev package installed.

To fix the issue, remove the check.  Since mg DEPENDS on ncurses, term.h
will always be there.

(From meta-openembedded rev: 2139d9034d036e92566adf2fff75fa49cd531ab1)

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-support/mg/files/remove_ncurses_check.patch [new file with mode: 0644]
meta-openembedded/meta-oe/recipes-support/mg/mg_20110905.bb