commit:     392cd06ebc6ac9fc6a93f70e975b39c51f039a8e
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  2 20:16:22 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Mar  2 20:44:39 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=392cd06e

sci-libs/mkl: Properly check for free disk space

Gentoo-Bugs: https://bugs.gentoo.org/show_bug.cgi?id=576044

Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-libs/mkl/mkl-10.0.5.025.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sci-libs/mkl/mkl-10.0.5.025.ebuild 
b/sci-libs/mkl/mkl-10.0.5.025.ebuild
index 4978b61..f49e232 100644
--- a/sci-libs/mkl/mkl-10.0.5.025.ebuild
+++ b/sci-libs/mkl/mkl-10.0.5.025.ebuild
@@ -31,6 +31,8 @@ RDEPEND="${DEPEND}
 MKL_DIR=/opt/intel/${PN}/${PV}
 INTEL_LIC_DIR=/opt/intel/licenses
 
+CHECKREQS_DISK_BUILD=3500M
+
 QA_PREBUILT="opt/intel/${PN}/${PV}/*"
 
 get_fcomp() {
@@ -45,6 +47,7 @@ get_fcomp() {
 }
 
 pkg_setup() {
+       check-reqs_pkg_setup
        fortran-2_pkg_setup
        # Check the license
        if [[ -z ${MKL_LICENSE} ]]; then
@@ -89,6 +92,8 @@ pkg_setup() {
 }
 
 src_prepare() {
+       check-reqs_src_prepare
+
        cd l_${PN}_*_${PV}/install || die
 
        cp ${MKL_LICENSE} "${WORKDIR}"/ || die

Reply via email to