summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-05-25 09:37:05 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-05-25 09:37:27 +0100
commit8933084aa74fa58638bd21b5dc5de9420beb4db3 (patch)
tree198c3ce515983d8a9155d8a658bab0f5798064a9 /media-libs/libmng
parentdev-python/pyproject2setuppy: Bump to v5 (diff)
downloadgentoo-8933084aa74fa58638bd21b5dc5de9420beb4db3.tar.gz
gentoo-8933084aa74fa58638bd21b5dc5de9420beb4db3.tar.bz2
gentoo-8933084aa74fa58638bd21b5dc5de9420beb4db3.zip
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 <slyfox@gentoo.org>
Diffstat (limited to 'media-libs/libmng')
-rw-r--r--media-libs/libmng/libmng-2.0.3.ebuild5
1 files 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() {