summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Zander <negril.nx+gentoo@gmail.com>2024-06-13 01:27:38 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-07-26 18:23:10 +0300
commit92b72bc59e461020ad083ed54f29e2a1f916919b (patch)
tree68feee5d36178c45201da7768e7960acc4599485 /sci-libs
parentsys-kernel/gentoo-sources: unkeyword 5.10.216 (diff)
downloadgentoo-92b72bc59e461020ad083ed54f29e2a1f916919b.tar.gz
gentoo-92b72bc59e461020ad083ed54f29e2a1f916919b.tar.bz2
gentoo-92b72bc59e461020ad083ed54f29e2a1f916919b.zip
sci-libs/atlas: add 3.10.2-r1 update to EAPI-8
Closes: https://bugs.gentoo.org/836099 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/atlas/atlas-3.10.2-r1.ebuild (renamed from sci-libs/atlas/atlas-3.10.2.ebuild)18
1 files changed, 7 insertions, 11 deletions
diff --git a/sci-libs/atlas/atlas-3.10.2.ebuild b/sci-libs/atlas/atlas-3.10.2-r1.ebuild
index 43582741de1a..88ac1701512c 100644
--- a/sci-libs/atlas/atlas-3.10.2.ebuild
+++ b/sci-libs/atlas/atlas-3.10.2-r1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
FORTRAN_NEEDED=fortran
-inherit fortran-2 toolchain-funcs versionator
+inherit fortran-2 toolchain-funcs
LAPACKP=lapack-3.6.0.tgz
@@ -13,17 +13,13 @@ DESCRIPTION="Automatically Tuned Linear Algebra Software"
HOMEPAGE="https://math-atlas.sourceforge.net"
SRC_URI="https://downloads.sourceforge.net/math-atlas/${PN}${PV}.tar.bz2
fortran? ( lapack? ( http://www.netlib.org/lapack/${LAPACKP} ) )"
+S="${WORKDIR}/ATLAS"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc fortran generic lapack static-libs threads"
-RDEPEND=""
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/ATLAS"
-
PATCHES=(
"${FILESDIR}/${P}-x32-support.patch"
"${FILESDIR}/${P}-format-security.patch"
@@ -48,9 +44,9 @@ src_configure() {
[[ ${mycc} == *gcc* ]] && mycc=gcc
atlas_configure() {
local myconf=(
- --prefix="${ED}/usr"
- --libdir="${ED}/usr/$(get_libdir)"
- --incdir="${ED}/usr/include"
+ --prefix="/usr"
+ --libdir="/usr/$(get_libdir)"
+ --incdir="/usr/include"
--cc="$(tc-getCC)"
"-D c -DWALL"
"-C acg '${mycc}'"
@@ -143,7 +139,7 @@ src_test() {
atlas_install_libs() {
local libname=$(basename ${1%.*})
einfo "Installing ${libname}"
- local soname=${libname}.so.$(get_major_version)
+ local soname=${libname}.so.$(ver_cut 1)
shift
pushd "${S}_shared"/lib > /dev/null
${LINK:-$(tc-getCC)} ${LDFLAGS} -shared -Wl,-soname=${soname} \