diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
commit | 8d5dbd847cbc704a6a06405856e94b461011afe3 (patch) | |
tree | 4d26462d027b14926335894749d2e01d982234d0 /sci-libs/gerris/gerris-20131206-r1.ebuild | |
parent | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff) |
gentoo resync : 27.03.2021
Diffstat (limited to 'sci-libs/gerris/gerris-20131206-r1.ebuild')
-rw-r--r-- | sci-libs/gerris/gerris-20131206-r1.ebuild | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/sci-libs/gerris/gerris-20131206-r1.ebuild b/sci-libs/gerris/gerris-20131206-r1.ebuild index 4ddca5bec04a..cf42447323e6 100644 --- a/sci-libs/gerris/gerris-20131206-r1.ebuild +++ b/sci-libs/gerris/gerris-20131206-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit autotools flag-o-matic toolchain-funcs xdg @@ -10,9 +10,9 @@ MY_P=${P/-20/-snapshot-} DESCRIPTION="Gerris Flow Solver" HOMEPAGE="http://gfs.sourceforge.net/" SRC_URI="http://gerris.dalembert.upmc.fr/gerris/tarballs/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" - SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="examples mpi static-libs" @@ -32,10 +32,8 @@ RDEPEND=" sci-libs/fftw:3.0= virtual/lapack mpi? ( virtual/mpi )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S="${WORKDIR}/${MY_P}" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" # buggy tests, need extra packages and require gerris to be installed RESTRICT=test @@ -46,6 +44,8 @@ PATCHES=( "${FILESDIR}"/${PN}-20130531-use-blas-lapack-system.patch "${FILESDIR}"/${PN}-20131206-lis-api-change.patch "${FILESDIR}"/${PN}-20131206-DEFAULT_SOURCE-replacement.patch + "${FILESDIR}"/${PN}-20131206-slibtool.patch + "${FILESDIR}"/${PN}-20131206-respect-NM.patch ) src_prepare() { @@ -54,7 +54,11 @@ src_prepare() { } src_configure() { - append-cppflags "-I${EPREFIX}/usr/include/hypre" + # bug #725450 + tc-export NM + + append-cppflags "-I${ESYSROOT}/usr/include/hypre" + econf \ --enable-shared \ $(use_enable static-libs static) \ @@ -64,6 +68,7 @@ src_configure() { src_install() { default + use examples && dodoc -r doc/examples find "${D}" -name '*.la' -delete || die |