commit: 90dae1b4ae07d6bb6fc650743269f5b55a8995c3 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Tue Jan 16 16:51:07 2024 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Tue Jan 16 17:52:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90dae1b4
dev-util/mingw64-toolchain: prevent makeinfo usage This does not install .info pages (that is left to binutils+gcc real packages), so little reason to depend on texinfo(makeinfo) and generate them for nothing. Could possibly come back as an issue if use gcc snapshots (that lack pre-gen info pages), and unsure if this same workaround will work for gcc (currently only binutils is trying to use it). MAKEINFO=: on ./configure is not necessary (and is insufficient to stop usage given it is not respected in Makefiles), but it prevents a command not found QA notice. That aside, generally hard for texinfo to be missing unless depclean build deps, so BDEPEND would not have been too wasteful. Closes: https://bugs.gentoo.org/922230 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild b/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild index 7196f0b85f19..808cdc0731ae 100644 --- a/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild +++ b/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -100,7 +100,8 @@ src_compile() { local conf=( --build=${CBUILD:-${CHOST}} --target=${CTARGET} - --{doc,info,man}dir=/.skip # let individual packages handle docs + --{doc,info,man}dir=/.skip # let the real binutils+gcc handle docs + MAKEINFO=: #922230 ) # binutils @@ -239,9 +240,9 @@ src_compile() { pushd "${build_dir}" >/dev/null || die edo "${conf[@]}" - emake V=1 + emake MAKEINFO=: V=1 # -j1 to match bug #906155, other packages may be fragile too - emake -j1 V=1 DESTDIR="${MWT_D}" install + emake -j1 MAKEINFO=: V=1 DESTDIR="${MWT_D}" install declare -f mwt-${id} >/dev/null && edo mwt-${id} declare -f mwt-${id}_${2} >/dev/null && edo mwt-${id}_${2}