Unbundle the new libncurses library dependency, which appears
due to 0.1.104's addition of the csysdig utility. Also, add
libncurses to {,R}DEPEND, since, once we unbundle, the library
obviously must come from ${ROOT}. Building against
sys-libs/libncurses-5.9-r3 (the latest version in the stable
branch) has been successfully tested thanks to mgorny.
Fixes: #559218
Signed-off-by: Gregory M. Turner <gmt@be-evil.net>
RDEPEND="dev-lang/luajit:2=
>=dev-libs/jsoncpp-0.6_pre:0=
+ sys-libs/ncurses:0=
sys-libs/zlib:0="
DEPEND="${RDEPEND}
app-arch/xz-utils
-DJSONCPP_PREFIX="${EPREFIX}"/usr
-DJSONCPP_INCLUDE="${EPREFIX}"/usr/include/jsoncpp
-DUSE_BUNDLED_ZLIB=OFF
+ -DUSE_BUNDLED_NCURSES=OFF
-DZLIB_PREFIX="${EPREFIX}"/usr
)