summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-06-09 06:56:28 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-06-09 06:56:39 +0300
commit8ff6629193dc380b4d8fc2f679c07047894d69c7 (patch)
tree57d6e0b9700ee8801ef0f49ebd6bcb84d546dcd4 /sci-libs
parentsys-apps/bar: drop 1.11.1 (diff)
downloadgentoo-8ff6629193dc380b4d8fc2f679c07047894d69c7.tar.gz
gentoo-8ff6629193dc380b4d8fc2f679c07047894d69c7.tar.bz2
gentoo-8ff6629193dc380b4d8fc2f679c07047894d69c7.zip
sci-libs/arprec: EAPI 6 -> 8
Closes: https://bugs.gentoo.org/526960 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/arprec/arprec-2.2.19-r1.ebuild (renamed from sci-libs/arprec/arprec-2.2.19.ebuild)27
1 files changed, 15 insertions, 12 deletions
diff --git a/sci-libs/arprec/arprec-2.2.19.ebuild b/sci-libs/arprec/arprec-2.2.19-r1.ebuild
index b31b5b5c86c7..dc6ff68e1078 100644
--- a/sci-libs/arprec/arprec-2.2.19.ebuild
+++ b/sci-libs/arprec/arprec-2.2.19-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
FORTRAN_NEEDED=fortran
FORTRAN_STANDARD=90
@@ -11,9 +11,10 @@ inherit autotools fortran-2
DESCRIPTION="Arbitrary precision float arithmetics and functions"
HOMEPAGE="https://crd-legacy.lbl.gov/~dhbailey/mpdist/"
SRC_URI="https://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz"
+S="${WORKDIR}/${PN}"
-SLOT="0"
LICENSE="BSD"
+SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 doc fortran qd static-libs"
@@ -24,20 +25,22 @@ PATCHES=(
"${FILESDIR}"/${P}-gold.patch
)
-S="${WORKDIR}/${PN}"
-
src_prepare() {
default
+ sed -e '/TESTS =/s/ io//' -i tests/Makefile.am || die # bug 526960
+
eautoreconf
}
src_configure() {
- econf \
- --enable-shared \
- $(use_enable static-libs static) \
- $(use_enable cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4) fma) \
- $(use_enable fortran) \
+ local myeconfargs=(
+ --enable-shared
+ $(use_enable static-libs static)
+ $(use_enable cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4) fma)
+ $(use_enable fortran)
$(use_enable qd)
+ )
+ econf "${myeconfargs[@]}"
}
src_compile() {
@@ -75,10 +78,10 @@ src_install() {
fi
if ! use doc; then
- rm "${ED%/}"/usr/share/doc/${PF}/*.pdf || die
+ rm "${ED}"/usr/share/doc/${PF}/*.pdf || die
fi
if ! use static-libs; then
- find "${D}" -name '*.la' -delete || die
+ find "${D}" -type f -name '*.la' -delete || die
fi
}