summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-12-19 18:38:31 +0000
committerJustin Lecher <jlec@gentoo.org>2010-12-19 18:38:31 +0000
commit458d20ce6a1b54deaa97a192ec3fa46e5655cb35 (patch)
tree859aa8d3db2460ec02e8947b52bc4c5f39047b46 /sci-libs/mkl
parentAdded support to www-servers/{nginx,gatling}. Thanks to Fernando V. (bug #211... (diff)
downloadgentoo-2-458d20ce6a1b54deaa97a192ec3fa46e5655cb35.tar.gz
gentoo-2-458d20ce6a1b54deaa97a192ec3fa46e5655cb35.tar.bz2
gentoo-2-458d20ce6a1b54deaa97a192ec3fa46e5655cb35.zip
Fix again the compiler detection
(Portage version: 2.2.0_alpha6/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/mkl')
-rw-r--r--sci-libs/mkl/mkl-10.0.2.018-r2.ebuild4
-rw-r--r--sci-libs/mkl/mkl-10.0.5.025.ebuild4
-rw-r--r--sci-libs/mkl/mkl-9.1.023.ebuild4
3 files changed, 6 insertions, 6 deletions
diff --git a/sci-libs/mkl/mkl-10.0.2.018-r2.ebuild b/sci-libs/mkl/mkl-10.0.2.018-r2.ebuild
index bd12e295e8d5..9d142c434fbb 100644
--- a/sci-libs/mkl/mkl-10.0.2.018-r2.ebuild
+++ b/sci-libs/mkl/mkl-10.0.2.018-r2.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.2.018-r2.ebuild,v 1.7 2010/12/19 18:23:16 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/mkl-10.0.2.018-r2.ebuild,v 1.8 2010/12/19 18:38:31 jlec Exp $
inherit eutils toolchain-funcs check-reqs
@@ -61,7 +61,7 @@ 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) =~ (gfortran|g77) ]] && [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] &&
die "blas95 and lapack95 don't compile with gfortran < 4.2"
fi
MKL_FC="gnu"
diff --git a/sci-libs/mkl/mkl-10.0.5.025.ebuild b/sci-libs/mkl/mkl-10.0.5.025.ebuild
index 5a414f5fc0e7..0eec4e414a85 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.9 2010/12/19 18:23:16 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/mkl-10.0.5.025.ebuild,v 1.10 2010/12/19 18:38:31 jlec Exp $
inherit eutils toolchain-funcs check-reqs
@@ -61,7 +61,7 @@ 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) =~ (gfortran|g77) ]] && [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] &&
die "blas95 and lapack95 don't compile with gfortran < 4.2"
fi
MKL_FC="gnu"
diff --git a/sci-libs/mkl/mkl-9.1.023.ebuild b/sci-libs/mkl/mkl-9.1.023.ebuild
index 606909132a2b..871bb3853ccd 100644
--- a/sci-libs/mkl/mkl-9.1.023.ebuild
+++ b/sci-libs/mkl/mkl-9.1.023.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-9.1.023.ebuild,v 1.13 2010/12/19 18:23:16 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/mkl-9.1.023.ebuild,v 1.14 2010/12/19 18:38:31 jlec Exp $
inherit eutils versionator toolchain-funcs
@@ -181,7 +181,7 @@ src_compile() {
src_test() {
local usegnu
- [[ $(tc-getFC) =~ g ]] && usegnu=gnu
+ [[ $(tc-getFC) =~ (gfortran|g77) ]] && usegnu=gnu
# restrict tests for blas and cblas for now.
# for t in blas cblas fft*; do
for t in blas lapack; do