1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 AUTOTOOLS_AUTORECONF=true
7 # The swig subdir is not used, so we can skip running autotools in it. #518000
10 inherit autotools-utils toolchain-funcs
12 DESCRIPTION="Software package for algebraic, geometric and combinatorial problems"
13 HOMEPAGE="http://www.4ti2.de/"
14 SRC_URI="http://4ti2.de/version_${PV}/${P}.tar.gz"
18 KEYWORDS="amd64 x86 ~x86-macos"
22 sci-mathematics/glpk:0[gmp]
26 AUTOTOOLS_IN_SOURCE_BUILD=1
29 "${FILESDIR}"/${PN}-1.3.2-gold.patch
34 -e "s:^CXX.*$:CXX=$(tc-getCXX):g" \
35 -i m4/glpk-check.m4 || die
36 autotools-utils_src_prepare