summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-12-19 18:23:16 +0000
committerJustin Lecher <jlec@gentoo.org>2010-12-19 18:23:16 +0000
commit654150ba3a8cc964ac9ac98bde086e712119752a (patch)
tree864d6c8670b85b180d7202c217f0e410dabc74d4 /sci-libs/mkl/mkl-9.1.023.ebuild
parentDelete older ebuild. (diff)
downloadgentoo-2-654150ba3a8cc964ac9ac98bde086e712119752a.tar.gz
gentoo-2-654150ba3a8cc964ac9ac98bde086e712119752a.tar.bz2
gentoo-2-654150ba3a8cc964ac9ac98bde086e712119752a.zip
Fix for fortran detection, thanks Arfrever pointing on it
(Portage version: 2.2.0_alpha6/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/mkl/mkl-9.1.023.ebuild')
-rw-r--r--sci-libs/mkl/mkl-9.1.023.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-libs/mkl/mkl-9.1.023.ebuild b/sci-libs/mkl/mkl-9.1.023.ebuild
index 6587195ea281..606909132a2b 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.12 2010/12/17 13:41:58 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/mkl-9.1.023.ebuild,v 1.13 2010/12/19 18:23:16 jlec Exp $
inherit eutils versionator toolchain-funcs
@@ -137,7 +137,7 @@ src_unpack() {
fi
# fix a bad makefile in the test
- if [[ $(tc-getFC) =~ gfortran ]] || [[ $(tc-getFC) =~ if.* ]]; then
+ if [[ $(tc-getFC) =~ gfortran ]] || [[ $(tc-getFC) =~ if ]]; then
sed -i \
-e "s/g77/$(tc-getFC)/" \
-e 's/-DGNU_USE//' \
@@ -181,7 +181,7 @@ src_compile() {
src_test() {
local usegnu
- [[ $(tc-getFC) = g* ]] && usegnu=gnu
+ [[ $(tc-getFC) =~ g ]] && usegnu=gnu
# restrict tests for blas and cblas for now.
# for t in blas cblas fft*; do
for t in blas lapack; do