diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-12-17 08:10:51 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-12-17 08:10:51 +0000 |
commit | 4eb4fdc89fcc57e85740aa77f09a603c3db15201 (patch) | |
tree | 7ac4d723db3e60fa69da657a1cb0c13b698605f8 /sci-libs/lapack-atlas/lapack-atlas-3.9.21.ebuild | |
parent | Fix for fortran.eclass removal (diff) | |
download | historical-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/lapack-atlas/lapack-atlas-3.9.21.ebuild')
-rw-r--r-- | sci-libs/lapack-atlas/lapack-atlas-3.9.21.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-libs/lapack-atlas/lapack-atlas-3.9.21.ebuild b/sci-libs/lapack-atlas/lapack-atlas-3.9.21.ebuild index b5dc4e9bee3d..9f923802b803 100644 --- a/sci-libs/lapack-atlas/lapack-atlas-3.9.21.ebuild +++ b/sci-libs/lapack-atlas/lapack-atlas-3.9.21.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/lapack-atlas/lapack-atlas-3.9.21.ebuild,v 1.4 2010/12/16 14:32:39 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.9.21.ebuild,v 1.5 2010/12/17 08:10:35 jlec Exp $ inherit eutils flag-o-matic toolchain-funcs autotools versionator @@ -131,8 +131,8 @@ src_compile() { RPATH="${DESTTREE}"/$(get_libdir)/${L_PN}/${MY_PN} local flibs - [[ $(tc-getFC) == gfortran ]] && flibs=-lgfortran - [[ $(tc-getFC) == g77 ]] && flibs=-lg2c + [[ $(tc-getFC) =~ gfortran ]] && flibs=-lgfortran + [[ $(tc-getFC) =~ g77 ]] && flibs=-lg2c ../libtool --mode=link --tag=F77 $(tc-getFC) ${LDFLAGS} \ $(pkg-config --libs blas cblas) -latlas ${flibs} \ -o liblapack.la *.lo -rpath "${RPATH}" \ |