commit: be85a7b83178e93eab93f2d415d581da0c43426a Author: Brian Evans <grknight <AT> gentoo <DOT> org> AuthorDate: Wed Nov 2 19:16:34 2022 +0000 Commit: Brian Evans <grknight <AT> gentoo <DOT> org> CommitDate: Wed Nov 2 19:16:34 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be85a7b8
mail-client/s-nail: Fix building with sys-devel/make-4.4 The config target saves MAKEFLAGS to a file and this is referenced incorrectly later. make 4.4 could then look for a jobserver file that no longer exists if -j > 1. Run make directly instead of emake to avoid pollution in config. Closes: https://bugs.gentoo.org/879065 Signed-off-by: Brian Evans <grknight <AT> gentoo.org> mail-client/s-nail/s-nail-14.9.22.ebuild | 3 ++- mail-client/s-nail/s-nail-14.9.24.ebuild | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/mail-client/s-nail/s-nail-14.9.22.ebuild b/mail-client/s-nail/s-nail-14.9.22.ebuild index dd455d2c17f5..822c7e20fc58 100644 --- a/mail-client/s-nail/s-nail-14.9.22.ebuild +++ b/mail-client/s-nail/s-nail-14.9.22.ebuild @@ -57,7 +57,8 @@ src_configure() { tc-is-cross-compiler && confopts+=( OPT_CROSS_BUILD=yes ) - emake "${confopts[@]}" config + # Cannot use emake or bad options saved Bug 879065 + make "${confopts[@]}" config || die } src_compile() { diff --git a/mail-client/s-nail/s-nail-14.9.24.ebuild b/mail-client/s-nail/s-nail-14.9.24.ebuild index 04362d1fe000..919009f5d74b 100644 --- a/mail-client/s-nail/s-nail-14.9.24.ebuild +++ b/mail-client/s-nail/s-nail-14.9.24.ebuild @@ -57,11 +57,12 @@ src_configure() { tc-is-cross-compiler && confopts+=( OPT_CROSS_BUILD=yes ) - emake "${confopts[@]}" config + # Cannot use emake or bad options saved Bug 879065 + make "${confopts[@]}" config || die } src_compile() { - emake build + TMPDIR=/tmp emake build } src_install() {