commit: c6e174240bd956a16b04f89328e53630f066fc14
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Thu Jan 26 19:40:35 2017 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Thu Jan 26 19:40:35 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c6e17424
sci-libs/clblas: apply previous fix also to the other ebuilds
Package-Manager: Portage-2.3.3, Repoman-2.3.1
sci-libs/clblas/clblas-2.8.ebuild | 11 ++++++-----
sci-libs/clblas/clblas-9999.ebuild | 11 ++++++-----
2 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/sci-libs/clblas/clblas-2.8.ebuild
b/sci-libs/clblas/clblas-2.8.ebuild
index d37fe5d..2cbb911 100644
--- a/sci-libs/clblas/clblas-2.8.ebuild
+++ b/sci-libs/clblas/clblas-2.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -46,14 +46,15 @@ pkg_pretend() {
fi
fi
- if [ ! -d "/usr/local/include/CL" ]; then
+ if [ ! -d "${EPREFIX}/usr/include/CL" ]; then
eerror "As a temporary workaround for Bug #521734, a symlink
pointing to"
eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to
the CL-1.2"
- eerror "headers, provided by the eselect-opencl package, can be
created with"
+ eerror "headers, normally provided by the eselect-opencl
package, can be"
+ eerror "manually created with"
eerror ""
- eerror " ln -s /usr/lib64/OpenCL/global/include/CL-1.2/
/usr/local/include/CL"
+ eerror " ln -s
${EPREFIX}/usr/lib64/OpenCL/global/include/CL-1.2/ ${EPREFIX}/usr/include/CL"
eerror ""
- die "/usr/local/include/CL not found"
+ die "${EPREFIX}/usr/include/CL not found"
fi
}
diff --git a/sci-libs/clblas/clblas-9999.ebuild
b/sci-libs/clblas/clblas-9999.ebuild
index 3a663af..f5fc36e 100644
--- a/sci-libs/clblas/clblas-9999.ebuild
+++ b/sci-libs/clblas/clblas-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -46,14 +46,15 @@ pkg_pretend() {
fi
fi
- if [ ! -d "/usr/local/include/CL" ]; then
+ if [ ! -d "${EPREFIX}/usr/include/CL" ]; then
eerror "As a temporary workaround for Bug #521734, a symlink
pointing to"
eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to
the CL-1.2"
- eerror "headers, provided by the eselect-opencl package, can be
created with"
+ eerror "headers, normally provided by the eselect-opencl
package, can be"
+ eerror "manually created with"
eerror ""
- eerror " ln -s /usr/lib64/OpenCL/global/include/CL-1.2/
/usr/local/include/CL"
+ eerror " ln -s
${EPREFIX}/usr/lib64/OpenCL/global/include/CL-1.2/ ${EPREFIX}/usr/include/CL"
eerror ""
- die "/usr/local/include/CL not found"
+ die "${EPREFIX}/usr/include/CL not found"
fi
}