diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
commit | 7014a5a3ea0feffab9701fdd6b64cc7667a985af (patch) | |
tree | f2cbbaa8bb9209cd15208721103228336149b799 /sci-mathematics/gfan/gfan-0.5-r1.ebuild | |
parent | 7a86906b67693cc65671d3e1476835d3a7e13092 (diff) |
gentoo resync : 30.06.2019
Diffstat (limited to 'sci-mathematics/gfan/gfan-0.5-r1.ebuild')
-rw-r--r-- | sci-mathematics/gfan/gfan-0.5-r1.ebuild | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/sci-mathematics/gfan/gfan-0.5-r1.ebuild b/sci-mathematics/gfan/gfan-0.5-r1.ebuild index ec591ee19578..1cd8c95fbecf 100644 --- a/sci-mathematics/gfan/gfan-0.5-r1.ebuild +++ b/sci-mathematics/gfan/gfan-0.5-r1.ebuild @@ -1,38 +1,37 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit eutils toolchain-funcs +inherit toolchain-funcs -DESCRIPTION="computes Groebner fans and tropical varities" +DESCRIPTION="Compute Groebner fans and tropical varities" HOMEPAGE="http://www.math.tu-berlin.de/~jensen/software/gfan/gfan.html" SRC_URI="http://www.math.tu-berlin.de/~jensen/software/gfan/${PN}${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux" -IUSE="" -DEPEND="dev-libs/gmp[cxx] - sci-libs/cddlib" +DEPEND=" + dev-libs/gmp:0=[cxx] + sci-libs/cddlib:0=" RDEPEND="${DEPEND}" S="${WORKDIR}/${PN}${PV}/" PATCHES=( - "${FILESDIR}/${P}-double-declare-fix.patch" - "${FILESDIR}/${P}-gcc6.1-compat.patch" - ) - -src_prepare () { - default - sed -i -e "s/-O2/${CXXFLAGS}/" \ - -e "/GPROFFLAG =/d" \ - -e "s/g++/$(tc-getCXX)/" \ - -e "s/\$(CCLINKER)/& \$(LDFLAGS)/" Makefile || die + "${FILESDIR}"/${P}-double-declare-fix.patch + "${FILESDIR}"/${P}-gcc6.1-compat.patch + "${FILESDIR}"/${P}-fix-build-system.patch + "${FILESDIR}"/${P}-fix-gcc9.patch +) + +src_configure() { + tc-export CXX } src_install() { emake PREFIX="${ED}/usr" install + einstalldocs } |