From 8933084aa74fa58638bd21b5dc5de9420beb4db3 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 25 May 2020 09:37:05 +0100 Subject: [PATCH] media-libs/libmng: don't call 'gcc' in src_prepare(), bug #720884 Before the change src_prepare() was calling 'emake distclean'. That forced reconfiguration with default CC=gcc. The change just deletes files which 'make distclean' would delete. Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/720884 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich --- media-libs/libmng/libmng-2.0.3.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/media-libs/libmng/libmng-2.0.3.ebuild b/media-libs/libmng/libmng-2.0.3.ebuild index d894ab2fc5f5..766e9a921b3d 100644 --- a/media-libs/libmng/libmng-2.0.3.ebuild +++ b/media-libs/libmng/libmng-2.0.3.ebuild @@ -23,9 +23,10 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${P}-jpeg-9a.patch ) src_prepare() { - eautoreconf - emake distclean default + # effect of 'make distclean' + rm Makefile config.h config.log config.status libmng.pc stamp-h1 || die + eautoreconf } multilib_src_configure() { -- 2.26.2