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 <slyfox@gentoo.org>
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() {