From 08b473805b893781ac1c63e4012bb82031779bd5 Mon Sep 17 00:00:00 2001 From: "Marty E. Plummer" Date: Tue, 8 Oct 2019 04:46:19 -0500 Subject: [PATCH] mail-client/neomutt: fix configure with ccache If you have dev-util/ccache installed but not FEATURES="ccache", neomutt's configure process will detect and try to use it. You can override this by setting an env var, CCACHE, to 'none' (and only that, see line 1132 or so of neomutt's source file auto.def). Without this change, you will get the following sort of error: >>> Configuring source in /tmp/portage/mail-client/neomutt-20180716/work/neomutt-neomutt-20180716 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu .... Host System...x86_64-pc-linux-gnu Note: defaultprefix is deprecated. Use options-defaults to set default options Build System...x86_64-pc-linux-gnu C compiler...ccache x86_64-pc-linux-gnu-gcc -O2 -pipe -march=znver1 C++ compiler...ccache x86_64-pc-linux-gnu-c++ -O2 -pipe -march=znver1 Build C compiler...cc * ACCESS DENIED: utimes: /var/cache/ccache Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Marty E. Plummer Signed-off-by: Nicolas Bock --- mail-client/neomutt/neomutt-20180716.ebuild | 4 ++-- mail-client/neomutt/neomutt-99999999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mail-client/neomutt/neomutt-20180716.ebuild b/mail-client/neomutt/neomutt-20180716.ebuild index ccd0f97bec9f..e29f859a066f 100644 --- a/mail-client/neomutt/neomutt-20180716.ebuild +++ b/mail-client/neomutt/neomutt-20180716.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -94,7 +94,7 @@ src_configure() { "$(use_enable gnutls)" ) - econf "${myconf[@]}" + econf CCACHE=none "${myconf[@]}" } src_install() { diff --git a/mail-client/neomutt/neomutt-99999999.ebuild b/mail-client/neomutt/neomutt-99999999.ebuild index 4d1742196c36..e97f8da78b1c 100644 --- a/mail-client/neomutt/neomutt-99999999.ebuild +++ b/mail-client/neomutt/neomutt-99999999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -94,7 +94,7 @@ src_configure() { "$(use_enable gnutls)" ) - econf "${myconf[@]}" + econf CCACHE=none "${myconf[@]}" } src_install() { -- 2.26.2