summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-04-08 21:35:03 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-04-08 21:35:03 +0000
commit3cc56f70df16f061ff208027a8cf9affa9cbd0a2 (patch)
tree61a1de94a38710de7738185324a4814fabc17126 /sci-libs/mkl
parentversion bump (diff)
downloadgentoo-2-3cc56f70df16f061ff208027a8cf9affa9cbd0a2.tar.gz
gentoo-2-3cc56f70df16f061ff208027a8cf9affa9cbd0a2.tar.bz2
gentoo-2-3cc56f70df16f061ff208027a8cf9affa9cbd0a2.zip
Fixed check on gfortran version
(Portage version: 2.1.5_rc2)
Diffstat (limited to 'sci-libs/mkl')
-rw-r--r--sci-libs/mkl/ChangeLog6
-rw-r--r--sci-libs/mkl/mkl-10.0.2.018.ebuild4
2 files changed, 7 insertions, 3 deletions
diff --git a/sci-libs/mkl/ChangeLog b/sci-libs/mkl/ChangeLog
index a95af7dea822..eac04d13aaa0 100644
--- a/sci-libs/mkl/ChangeLog
+++ b/sci-libs/mkl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/mkl
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/ChangeLog,v 1.23 2008/03/29 09:12:26 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/ChangeLog,v 1.24 2008/04/08 21:35:03 bicatali Exp $
+
+ 08 Apr 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ mkl-10.0.2.018.ebuild:
+ Fixed check on gfortran version
*mkl-10.0.2.018 (29 Mar 2008)
diff --git a/sci-libs/mkl/mkl-10.0.2.018.ebuild b/sci-libs/mkl/mkl-10.0.2.018.ebuild
index 01b77b7f4ac1..9aaeeb45e75a 100644
--- a/sci-libs/mkl/mkl-10.0.2.018.ebuild
+++ b/sci-libs/mkl/mkl-10.0.2.018.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/mkl-10.0.2.018.ebuild,v 1.1 2008/03/29 09:12:26 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/mkl-10.0.2.018.ebuild,v 1.2 2008/04/08 21:35:03 bicatali Exp $
inherit eutils toolchain-funcs fortran check-reqs
@@ -57,7 +57,7 @@ pkg_setup() {
if use fortran95; then
FORTRAN="gfortran ifc"
# blas95 and lapack95 don't compile with gfortran < 4.2
- gcc-version lt 4 2 && FORTRAN="ifc"
+ [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] && FORTRAN="ifc"
fi
use int64 && FORTRAN="gfortran ifc"
fortran_pkg_setup