From 2cf5af8e8c422c7f553460fdaf777d88e79da9f9 Mon Sep 17 00:00:00 2001 From: Alexander Holcomb Date: Thu, 7 Apr 2022 22:21:19 -0500 Subject: [PATCH] app-editors/mined: Fix direct call to cc This commit should fix bug 831698, the build script calling cc directly. It uses the tc-export command from toolchain-funcs to set and use $CC. Signed-off-by: Alexander Holcomb --- app-editors/mined/mined-2015.25.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app-editors/mined/mined-2015.25.ebuild b/app-editors/mined/mined-2015.25.ebuild index 6844b33e55..56af7db0fc 100644 --- a/app-editors/mined/mined-2015.25.ebuild +++ b/app-editors/mined/mined-2015.25.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 - EAPI=7 +inherit toolchain-funcs DESCRIPTION="A powerful text editor with extensive Unicode and CJK support" HOMEPAGE="http://towo.net/mined/" @@ -16,6 +16,7 @@ DEPEND="${RDEPEND}" BDEPEND="" S=${S}/src src_configure() { + tc-export CC sed -in 's/OBJDIR=..\/bin\/sh/OBJDIR=bin\/sh/' mkmined sed -in 's/\"\${COPT--DTERMIO \$W}\"/\"${CFLAGS} \${COPT--DTERMIO} \${LDFLAGS}\"/' mkmined sed -in 's/name.o/name.o \$LDFLAGS/' mkmined