From: Michael Mair-Keimberger Date: Tue, 19 Nov 2019 09:47:53 +0000 (+0100) Subject: games-simulation/micropolis: fix eclass usage, don't call gcc directly X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=32068cf7204c8310cc646c916b2a0128becb79fd;p=gentoo.git games-simulation/micropolis: fix eclass usage, don't call gcc directly Signed-off-by: Michael Mair-Keimberger Closes: https://github.com/gentoo/gentoo/pull/13703 Signed-off-by: James Le Cuirot --- diff --git a/games-simulation/micropolis/micropolis-1.0-r2.ebuild b/games-simulation/micropolis/micropolis-1.0-r2.ebuild index 185b1d35b1f0..c329f78b0817 100644 --- a/games-simulation/micropolis/micropolis-1.0-r2.ebuild +++ b/games-simulation/micropolis/micropolis-1.0-r2.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit eutils + +inherit desktop eutils toolchain-funcs DESCRIPTION="Free version of the well-known city building simulation" HOMEPAGE="http://www.donhopkins.com/home/micropolis/" @@ -43,7 +44,7 @@ src_prepare() { } src_compile() { - emake -C src LDFLAGS="${LDFLAGS}" + emake -C src LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" } src_install() {