From 78c9bd886a28317ffe2b203d8421be69c67da314 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Fri, 17 Dec 2010 13:41:58 +0000 Subject: Fix for bug 348935 Package-Manager: portage-2.2.0_alpha9/cvs/Linux x86_64 --- sci-libs/mkl/mkl-10.0.5.025.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sci-libs/mkl/mkl-10.0.5.025.ebuild') diff --git a/sci-libs/mkl/mkl-10.0.5.025.ebuild b/sci-libs/mkl/mkl-10.0.5.025.ebuild index 3afe07a91f23..7f294ffab06d 100644 --- a/sci-libs/mkl/mkl-10.0.5.025.ebuild +++ b/sci-libs/mkl/mkl-10.0.5.025.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/mkl-10.0.5.025.ebuild,v 1.7 2010/12/17 08:24:38 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/mkl-10.0.5.025.ebuild,v 1.8 2010/12/17 13:41:58 jlec Exp $ inherit eutils toolchain-funcs check-reqs @@ -61,11 +61,11 @@ pkg_setup() { # Check and setup fortran if use fortran95; then # blas95 and lapack95 don't compile with gfortran < 4.2 - [[ $(tc-getFC) =~ g* ]] && [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] && + [[ $(tc-getFC) =~ g.* ]] && [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] && die "blas95 and lapack95 don't compile with gfortran < 4.2" fi MKL_FC="gnu" - [[ $(tc-getFC) =~ if* ]] && MKL_FC="intel" + [[ $(tc-getFC) =~ if.* ]] && MKL_FC="intel" # build profiles according to what compiler is installed MKL_CC="gnu" -- cgit v1.2.3-65-gdbad