1 |
commit: d89786cb1d45ea18df86e694c44dda76b5c67033 |
2 |
Author: Anna Vyalkova <cyber <AT> sysrq <DOT> in> |
3 |
AuthorDate: Sun May 16 13:46:54 2021 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Sun May 16 14:05:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d89786cb |
7 |
|
8 |
sci-mathematics/chaco: fix CC |
9 |
|
10 |
Closes: https://bugs.gentoo.org/785166 |
11 |
Signed-off-by: Anna Vyalkova <cyber <AT> sysrq.in> |
12 |
|
13 |
sci-mathematics/chaco/chaco-2.2.ebuild | 13 +++++++++---- |
14 |
1 file changed, 9 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/sci-mathematics/chaco/chaco-2.2.ebuild b/sci-mathematics/chaco/chaco-2.2.ebuild |
17 |
index 745dd01c6..f7d0a7d15 100644 |
18 |
--- a/sci-mathematics/chaco/chaco-2.2.ebuild |
19 |
+++ b/sci-mathematics/chaco/chaco-2.2.ebuild |
20 |
@@ -1,7 +1,9 @@ |
21 |
# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI="7" |
25 |
+EAPI=7 |
26 |
+ |
27 |
+inherit toolchain-funcs |
28 |
|
29 |
DESCRIPTION="Software for Partitioning Graphs" |
30 |
HOMEPAGE="https://www3.cs.stonybrook.edu/~algorith/implement/chaco/implement.shtml" |
31 |
@@ -13,10 +15,13 @@ KEYWORDS="~amd64 ~x86" |
32 |
PATCHES=( "${FILESDIR}/makefile.patch" ) |
33 |
S="${WORKDIR}/Chaco-${PV}" |
34 |
|
35 |
+src_compile() { |
36 |
+ cd code || die |
37 |
+ tc-export CC |
38 |
+ default |
39 |
+} |
40 |
+ |
41 |
src_install() { |
42 |
- pushd code || die |
43 |
- emake |
44 |
- popd || die |
45 |
dobin "exec/chaco" |
46 |
dodoc -r doc/. |
47 |
} |