commit: 4310c6008e8734af315a6ec67ed888ace5579829 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Jan 4 11:44:04 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jan 4 11:44:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4310c600
sys-libs/ncurses: pass --enable-term-driver for mingw Closes: https://bugs.gentoo.org/932152 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-libs/ncurses/ncurses-6.5_p20241109.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/sys-libs/ncurses/ncurses-6.5_p20241109.ebuild b/sys-libs/ncurses/ncurses-6.5_p20241109.ebuild index c95699da9f73..9b250194be84 100644 --- a/sys-libs/ncurses/ncurses-6.5_p20241109.ebuild +++ b/sys-libs/ncurses/ncurses-6.5_p20241109.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -269,7 +269,6 @@ do_configure() { #--disable-root-access #--disable-root-environ - --disable-term-driver --disable-termcap --enable-symlinks --with-manpage-format=normal @@ -290,6 +289,15 @@ do_configure() { --disable-pkg-ldflags ) + case ${CHOST} in + *-mingw32*) + conf+=( --enable-term-driver ) + ;; + *) + conf+=( --disable-term-driver ) + ;; + esac + if [[ ${target} == ncurses*w ]] ; then conf+=( --enable-widec ) else