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@gentoo.org>
This commit is contained in:
Justin Lecher
2016-03-02 20:16:22 +00:00
parent b3504dd7a8
commit 392cd06ebc

View 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