Skip to content

Commit

Permalink
media-libs/libmng: don't call 'gcc' in src_prepare(), bug #720884
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Sergei Trofimovich committed May 25, 2020
1 parent 9ba2969 commit 8933084
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions media-libs/libmng/libmng-2.0.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 8933084

Please sign in to comment.