commit: 2cf5af8e8c422c7f553460fdaf777d88e79da9f9 Author: Alexander Holcomb <alex <AT> alexsdigital <DOT> rodeo> AuthorDate: Fri Apr 8 03:21:19 2022 +0000 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> CommitDate: Fri Apr 8 03:21:19 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2cf5af8e
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 <alex <AT> alexsdigital.rodeo> 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 6844b33e5..56af7db0f 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
