commit:     21bb13eb3f39d10f77592365c41da9b5e80e65f9
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Thu Oct  2 13:55:24 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  3 00:06:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21bb13eb

sys-libs/ncurses: Fix cross-compilation without `tic`

When `tic` is not available on the host during cross-compilation, this
ebuild relies on a codepath that compiles a temporary copy of `tic`.

Recent versions of ncurses use TIC as a path to the tic binary, instead
of TIC_PATH.

Closes: https://bugs.gentoo.org/963660
Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44006
Closes: https://github.com/gentoo/gentoo/pull/44006
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/ncurses/ncurses-6.5_p20250329.ebuild    | 2 +-
 sys-libs/ncurses/ncurses-6.5_p20250531-r1.ebuild | 2 +-
 sys-libs/ncurses/ncurses-6.5_p20250802.ebuild    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-libs/ncurses/ncurses-6.5_p20250329.ebuild 
b/sys-libs/ncurses/ncurses-6.5_p20250329.ebuild
index 183cc9ca276f..524fb1d91087 100644
--- a/sys-libs/ncurses/ncurses-6.5_p20250329.ebuild
+++ b/sys-libs/ncurses/ncurses-6.5_p20250329.ebuild
@@ -345,7 +345,7 @@ do_configure() {
        # See comments in src_configure.
        if [[ ${target} != "cross" ]] ; then
                local cross_path="${WORKDIR}/cross"
-               [[ -d ${cross_path} ]] && export 
TIC_PATH="${cross_path}/progs/tic"
+               [[ -d ${cross_path} ]] && export TIC="${cross_path}/progs/tic"
        fi
 
        ECONF_SOURCE="${S}" econf "${conf[@]}" "$@"

diff --git a/sys-libs/ncurses/ncurses-6.5_p20250531-r1.ebuild 
b/sys-libs/ncurses/ncurses-6.5_p20250531-r1.ebuild
index 05ae1ff835a3..88e193fb75e8 100644
--- a/sys-libs/ncurses/ncurses-6.5_p20250531-r1.ebuild
+++ b/sys-libs/ncurses/ncurses-6.5_p20250531-r1.ebuild
@@ -351,7 +351,7 @@ do_configure() {
        # See comments in src_configure.
        if [[ ${target} != "cross" ]] ; then
                local cross_path="${WORKDIR}/cross"
-               [[ -d ${cross_path} ]] && export 
TIC_PATH="${cross_path}/progs/tic"
+               [[ -d ${cross_path} ]] && export TIC="${cross_path}/progs/tic"
        fi
 
        ECONF_SOURCE="${S}" econf "${conf[@]}" "$@"

diff --git a/sys-libs/ncurses/ncurses-6.5_p20250802.ebuild 
b/sys-libs/ncurses/ncurses-6.5_p20250802.ebuild
index 4c917ce365bb..7e19f10403b3 100644
--- a/sys-libs/ncurses/ncurses-6.5_p20250802.ebuild
+++ b/sys-libs/ncurses/ncurses-6.5_p20250802.ebuild
@@ -359,7 +359,7 @@ do_configure() {
        # See comments in src_configure.
        if [[ ${target} != "cross" ]] ; then
                local cross_path="${WORKDIR}/cross"
-               [[ -d ${cross_path} ]] && export 
TIC_PATH="${cross_path}/progs/tic"
+               [[ -d ${cross_path} ]] && export TIC="${cross_path}/progs/tic"
        fi
 
        ECONF_SOURCE="${S}" econf "${conf[@]}" "$@"

Reply via email to