From 32068cf7204c8310cc646c916b2a0128becb79fd Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Tue, 19 Nov 2019 10:47:53 +0100 Subject: [PATCH] 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 --- games-simulation/micropolis/micropolis-1.0-r2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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() { -- 2.26.2