summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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}