Hello, I have a global "ncurses" flag and trying to get rid of slang in my system. Currently, I'm facing a problem. networkmanager[ncurses] pulls dev-libs/newt which pulls slang (and fails to build without it). ncurses is not required in the configure script: NetworkManager-1.30.4/configure.ac AC_ARG_WITH(nmtui, AS_HELP_STRING([--with-nmtui=yes|no], [Build nmtui])) if test "$with_nmtui" != no; then PKG_CHECK_MODULES(NEWT, [libnewt >= 0.52.15], [build_nmtui=yes], [build_nmtui=no]) else build_nmtui=no fi However, ncurses is mentioned in /m4/ax_lib_readline.m4: # prefer ncurses since we use it for nmtui too for termcap_lib in "" ncurses termcap curses; do if test -z "$termcap_lib"; then TRY_LIB="-l$readline_lib" else TRY_LIB="-l$readline_lib -l$termcap_lib" fi Could you investigate? "prefer" does not sound explicitly required. Perhaps, you can change it to nmtui or similar? Thank you.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c70e9b2513b1c3fd530350ad0b91fc9421b21de commit 5c70e9b2513b1c3fd530350ad0b91fc9421b21de Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-08-22 05:35:28 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-08-22 19:22:33 +0000 net-misc/networkmanager: Version bump to 1.32.10 * switch to Meson * Add IUSE="conncheck debug psl lto syslog tools" * Remove IUSE="ncurses" (replaced by USE="tools"), bug #798483 Closes: https://bugs.gentoo.org/784494 Closes: https://bugs.gentoo.org/796467 Closes: https://bugs.gentoo.org/798483 Signed-off-by: Matt Turner <mattst88@gentoo.org> net-misc/networkmanager/Manifest | 1 + net-misc/networkmanager/metadata.xml | 8 + .../networkmanager/networkmanager-1.32.10.ebuild | 382 +++++++++++++++++++++ 3 files changed, 391 insertions(+)