sci-libs/mkl: Properly check for free disk space
authorJustin Lecher <jlec@gentoo.org>
Wed, 2 Mar 2016 20:16:22 +0000 (20:16 +0000)
committerJustin Lecher <jlec@gentoo.org>
Wed, 2 Mar 2016 20:44:39 +0000 (20:44 +0000)
Gentoo-Bugs: https://bugs.gentoo.org/show_bug.cgi?id=576044

Signed-off-by: Justin Lecher <jlec@gentoo.org>
sci-libs/mkl/mkl-10.0.5.025.ebuild

index 4978b615c527809dae8f9e03f32d1b0a83941d2c..f49e232c56722090977508e24dcc86177b571ca5 100644 (file)
@@ -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