sci-mathematics/chaco: fix CC

Closes: https://bugs.gentoo.org/785166
Signed-off-by: Anna Vyalkova <cyber@sysrq.in>
This commit is contained in:
Anna Vyalkova
2021-05-16 18:46:54 +05:00
parent dd6ff2f5c2
commit d89786cb1d

View File

@@ -1,7 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=7
inherit toolchain-funcs
DESCRIPTION="Software for Partitioning Graphs"
HOMEPAGE="https://www3.cs.stonybrook.edu/~algorith/implement/chaco/implement.shtml"
@@ -13,10 +15,13 @@ KEYWORDS="~amd64 ~x86"
PATCHES=( "${FILESDIR}/makefile.patch" )
S="${WORKDIR}/Chaco-${PV}"
src_compile() {
cd code || die
tc-export CC
default
}
src_install() {
pushd code || die
emake
popd || die
dobin "exec/chaco"
dodoc -r doc/.
}