generic-poky/meta/recipes-core/ncurses
Robert Yang 448549b7db ncurses: enable-pc-files requires PKG_CONFIG_LIBDIR existed
Fixed ncurses.do_configure:
configure: WARNING: did not find library /path/to/tmp/sysroots/qemuarm/usr/lib/pkgconfig

And then anyone requires ncurses.pc will fail.

The configure.in checks:
[snip]
if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then
[snip]

Create PKG_CONFIG_LIBDIR in do_configure will fix the problem.

We can reproduce the problem by:
Set SSTATE_DIR=/path/to/sstate-cache
1) In build1, make sure everything is ready in SSTATE_DIR
$ bitbake ncurses
2) In build2, rebuild ncurses only:
$ bitbake ncurses -ccleansstate && bitbake ncurses

Then we will see the warning in log.do_configure.

(From OE-Core rev: ea4010c8398745736b0c22ed037604db8fc43212)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-10-10 18:18:02 +01:00
..
ncurses-5.9 update patch upstream status 2011-05-13 11:02:14 +01:00
site_config ncurses: Fix site_config 2011-07-14 15:02:29 +01:00
ncurses.inc ncurses: enable-pc-files requires PKG_CONFIG_LIBDIR existed 2014-10-10 18:18:02 +01:00
ncurses_5.9.bb ncurses: Remove unwanted package config from previous .inc merge 2011-04-12 10:12:20 -07:00