summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-12-17 08:09:04 +0000
committerJustin Lecher <jlec@gentoo.org>2010-12-17 08:09:04 +0000
commit369f3b68a6b3c05953486aef2a383f6328c591af (patch)
treeaea6a4371211d94f6faec21eda3836d9768fa46b /sci-libs/blas-atlas/blas-atlas-3.9.3.ebuild
parentFix for fortran.eclass removal (diff)
downloadgentoo-2-369f3b68a6b3c05953486aef2a383f6328c591af.tar.gz
gentoo-2-369f3b68a6b3c05953486aef2a383f6328c591af.tar.bz2
gentoo-2-369f3b68a6b3c05953486aef2a383f6328c591af.zip
Fix for fortran.eclass removal
(Portage version: 2.2.0_alpha8/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/blas-atlas/blas-atlas-3.9.3.ebuild')
-rw-r--r--sci-libs/blas-atlas/blas-atlas-3.9.3.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-libs/blas-atlas/blas-atlas-3.9.3.ebuild b/sci-libs/blas-atlas/blas-atlas-3.9.3.ebuild
index af5b2327c66d..035d8f35c23f 100644
--- a/sci-libs/blas-atlas/blas-atlas-3.9.3.ebuild
+++ b/sci-libs/blas-atlas/blas-atlas-3.9.3.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/blas-atlas/blas-atlas-3.9.3.ebuild,v 1.7 2010/12/16 14:20:20 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.9.3.ebuild,v 1.8 2010/12/17 08:09:04 jlec Exp $
inherit eutils toolchain-funcs multilib
@@ -149,8 +149,8 @@ src_install () {
# pkgconfig files
local extlibs="-lm"
local threadlibs
- [[ $(tc-getFC) == gfortran ]] && extlibs="${extlibs} -lgfortran"
- [[ $(tc-getFC) == g77 ]] && extlibs="${extlibs} -lg2c"
+ [[ $(tc-getFC) =~ gfortran ]] && extlibs="${extlibs} -lgfortran"
+ [[ $(tc-getFC) =~ g77 ]] && extlibs="${extlibs} -lg2c"
cp "${FILESDIR}"/blas.pc.in blas.pc
cp "${FILESDIR}"/cblas.pc.in cblas.pc
sed -i \