summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-02-27 23:37:30 +0000
committerJames Le Cuirot <chewi@gentoo.org>2023-03-18 21:44:42 +0000
commit36aa1b85c50f1c6eac0106d7c1ae7ca6b8da8e9b (patch)
tree238280f0feff95e03ad3f6f2177ba681f658db06 /sci-libs/lapack
parentapp-eselect/eselect-lapack: Bump to fix ROOT handling and apply quoting (diff)
downloadgentoo-36aa1b85c50f1c6eac0106d7c1ae7ca6b8da8e9b.tar.gz
gentoo-36aa1b85c50f1c6eac0106d7c1ae7ca6b8da8e9b.tar.bz2
gentoo-36aa1b85c50f1c6eac0106d7c1ae7ca6b8da8e9b.zip
sci-libs/lapack: Don't include ROOT in directory of eselect entries
ROOT is not applicable at runtime, so only the EPREFIX should be present. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'sci-libs/lapack')
-rw-r--r--sci-libs/lapack/lapack-3.11.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sci-libs/lapack/lapack-3.11.ebuild b/sci-libs/lapack/lapack-3.11.ebuild
index c13b5b123b6d..737bed9e5fdb 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -74,7 +74,7 @@ pkg_postinst() {
local me=reference libdir=$(get_libdir)
# check eselect-blas
- eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
+ eselect blas add ${libdir} "${EPREFIX}"/usr/${libdir}/blas/${me} ${me}
local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then
eselect blas set ${libdir} ${me}
@@ -86,7 +86,7 @@ pkg_postinst() {
fi
# check eselect-lapack
- eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me}
+ eselect lapack add ${libdir} "${EPREFIX}"/usr/${libdir}/lapack/${me} ${me}
local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2)
if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then
eselect lapack set ${libdir} ${me}