1 |
commit: 2cf5af8e8c422c7f553460fdaf777d88e79da9f9 |
2 |
Author: Alexander Holcomb <alex <AT> alexsdigital <DOT> rodeo> |
3 |
AuthorDate: Fri Apr 8 03:21:19 2022 +0000 |
4 |
Commit: Alexander Holcomb <alex <AT> alexsdigital <DOT> rodeo> |
5 |
CommitDate: Fri Apr 8 03:21:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2cf5af8e |
7 |
|
8 |
app-editors/mined: Fix direct call to cc |
9 |
|
10 |
This commit should fix bug 831698, the build script calling |
11 |
cc directly. It uses the tc-export command from |
12 |
toolchain-funcs to set and use $CC. |
13 |
|
14 |
Signed-off-by: Alexander Holcomb <alex <AT> alexsdigital.rodeo> |
15 |
|
16 |
app-editors/mined/mined-2015.25.ebuild | 3 ++- |
17 |
1 file changed, 2 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/app-editors/mined/mined-2015.25.ebuild b/app-editors/mined/mined-2015.25.ebuild |
20 |
index 6844b33e5..56af7db0f 100644 |
21 |
--- a/app-editors/mined/mined-2015.25.ebuild |
22 |
+++ b/app-editors/mined/mined-2015.25.ebuild |
23 |
@@ -1,7 +1,7 @@ |
24 |
# Copyright 1999-2022 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
EAPI=7 |
28 |
+inherit toolchain-funcs |
29 |
|
30 |
DESCRIPTION="A powerful text editor with extensive Unicode and CJK support" |
31 |
HOMEPAGE="http://towo.net/mined/" |
32 |
@@ -16,6 +16,7 @@ DEPEND="${RDEPEND}" |
33 |
BDEPEND="" |
34 |
S=${S}/src |
35 |
src_configure() { |
36 |
+ tc-export CC |
37 |
sed -in 's/OBJDIR=..\/bin\/sh/OBJDIR=bin\/sh/' mkmined |
38 |
sed -in 's/\"\${COPT--DTERMIO \$W}\"/\"${CFLAGS} \${COPT--DTERMIO} \${LDFLAGS}\"/' mkmined |
39 |
sed -in 's/name.o/name.o \$LDFLAGS/' mkmined |