diff --git a/sci-mathematics/chaco/chaco-2.2.ebuild b/sci-mathematics/chaco/chaco-2.2.ebuild index 745dd01c67..f7d0a7d155 100644 --- a/sci-mathematics/chaco/chaco-2.2.ebuild +++ b/sci-mathematics/chaco/chaco-2.2.ebuild @@ -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/. }