Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/
Date: Sat, 18 Mar 2023 21:45:52
Message-Id: 1679175882.36aa1b85c50f1c6eac0106d7c1ae7ca6b8da8e9b.chewi@gentoo
1 commit: 36aa1b85c50f1c6eac0106d7c1ae7ca6b8da8e9b
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 23:37:30 2023 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 18 21:44:42 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36aa1b85
7
8 sci-libs/lapack: Don't include ROOT in directory of eselect entries
9
10 ROOT is not applicable at runtime, so only the EPREFIX should be present.
11
12 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
13
14 sci-libs/lapack/lapack-3.11.ebuild | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17 diff --git a/sci-libs/lapack/lapack-3.11.ebuild b/sci-libs/lapack/lapack-3.11.ebuild
18 index c13b5b123b6d..737bed9e5fdb 100644
19 --- a/sci-libs/lapack/lapack-3.11.ebuild
20 +++ b/sci-libs/lapack/lapack-3.11.ebuild
21 @@ -74,7 +74,7 @@ pkg_postinst() {
22
23 local me=reference libdir=$(get_libdir)
24 # check eselect-blas
25 - eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
26 + eselect blas add ${libdir} "${EPREFIX}"/usr/${libdir}/blas/${me} ${me}
27 local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
28 if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then
29 eselect blas set ${libdir} ${me}
30 @@ -86,7 +86,7 @@ pkg_postinst() {
31 fi
32
33 # check eselect-lapack
34 - eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me}
35 + eselect lapack add ${libdir} "${EPREFIX}"/usr/${libdir}/lapack/${me} ${me}
36 local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2)
37 if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then
38 eselect lapack set ${libdir} ${me}