ncurses: change handling of PKG_CONFIG_LIBDIR
authorJo-Philipp Wich <jo@mein.io>
Mon, 8 Aug 2016 15:14:41 +0000 (17:14 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 15 Aug 2016 11:34:17 +0000 (13:34 +0200)
commitd36c5152ef30b6182d1c661ffb538e9e974e1a03
tree9de5d54b7578b34e6d6ee0cf4cb6196546a7bebd
parent3a3424981c27e3c3ca35e076bcc0f399f86649c3
ncurses: change handling of PKG_CONFIG_LIBDIR

When PKG_CONFIG_LIBDIR was unset in the environment, the configure
script was deducing the PKG_CONFIG_LIBDIR from the location of the
pkg-config binary, which doesn't make a lot of sense, and isn't done
by other autotools based packages.

Patch imported from the Buildroot project:
https://github.com/buildroot/buildroot/blob/master/package/ncurses/0001-fixup-pkg-config-handling.patch

Also refresh patches while we're at.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
package/libs/ncurses/Makefile
package/libs/ncurses/patches/102-ncurses-5.9-gcc-5.patch
package/libs/ncurses/patches/103-fixup-pkg-config-handling.patch [new file with mode: 0644]
package/libs/ncurses/patches/200-fix_missing_include.patch
package/libs/ncurses/patches/500-cross.patch
package/libs/ncurses/patches/900-terminfo.patch