summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-12-17 08:10:51 +0000
committerJustin Lecher <jlec@gentoo.org>2010-12-17 08:10:51 +0000
commit4eb4fdc89fcc57e85740aa77f09a603c3db15201 (patch)
tree7ac4d723db3e60fa69da657a1cb0c13b698605f8 /sci-libs/blas-atlas/blas-atlas-3.9.23-r4.ebuild
parentFix for fortran.eclass removal (diff)
downloadhistorical-4eb4fdc89fcc57e85740aa77f09a603c3db15201.tar.gz
historical-4eb4fdc89fcc57e85740aa77f09a603c3db15201.tar.bz2
historical-4eb4fdc89fcc57e85740aa77f09a603c3db15201.zip
Fix for fortran.eclass removal
Package-Manager: portage-2.2.0_alpha8/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/blas-atlas/blas-atlas-3.9.23-r4.ebuild')
-rw-r--r--sci-libs/blas-atlas/blas-atlas-3.9.23-r4.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-libs/blas-atlas/blas-atlas-3.9.23-r4.ebuild b/sci-libs/blas-atlas/blas-atlas-3.9.23-r4.ebuild
index 70452ce12d29..30a4fc3844b4 100644
--- a/sci-libs/blas-atlas/blas-atlas-3.9.23-r4.ebuild
+++ b/sci-libs/blas-atlas/blas-atlas-3.9.23-r4.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.23-r4.ebuild,v 1.3 2010/12/16 14:21:32 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.9.23-r4.ebuild,v 1.4 2010/12/17 08:09:04 jlec Exp $
EAPI="3"
@@ -164,8 +164,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 \