diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-26 00:10:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-26 00:10:07 +0100 |
commit | 95461df035e3867364495f065e5e805bf629b2d7 (patch) | |
tree | 867dce371a84a696e91be255d89f282975aa0480 /sci-libs/cgcode/cgcode-1.0-r2.ebuild | |
parent | 46eedbedafdb0040c37884982d4c775ce277fb7b (diff) |
gentoo resync : 25.10.2021
Diffstat (limited to 'sci-libs/cgcode/cgcode-1.0-r2.ebuild')
-rw-r--r-- | sci-libs/cgcode/cgcode-1.0-r2.ebuild | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/sci-libs/cgcode/cgcode-1.0-r2.ebuild b/sci-libs/cgcode/cgcode-1.0-r2.ebuild index dbb7d0622da8..6fe1ddee3b21 100644 --- a/sci-libs/cgcode/cgcode-1.0-r2.ebuild +++ b/sci-libs/cgcode/cgcode-1.0-r2.ebuild @@ -1,33 +1,35 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 -inherit epatch fortran-2 flag-o-matic toolchain-funcs +inherit fortran-2 flag-o-matic toolchain-funcs DESCRIPTION="Conjugate gradient Codes for large sparse linear systems" HOMEPAGE="http://fetk.org/codes/cgcode/index.html" SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz" +S="${WORKDIR}"/${PN} +LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -LICENSE="GPL-2" -IUSE="" RDEPEND="virtual/blas" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" -S="${WORKDIR}"/${PN} +PATCHES=( + "${FILESDIR}"/${PV}-gentoo.patch +) src_prepare() { - epatch "${FILESDIR}"/${PV}-gentoo.patch + default # GCC 10 workaround # bug #722000 append-fflags $(test-flags-FC -fallow-argument-mismatch) - cat >> make.inc <<- EOF + cat >> make.inc <<- EOF || die F77 = $(tc-getFC) FFLAGS = ${FFLAGS} BLASLIBS = $($(tc-getPKG_CONFIG) --libs blas) |