From 4eb4fdc89fcc57e85740aa77f09a603c3db15201 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Fri, 17 Dec 2010 08:10:51 +0000 Subject: Fix for fortran.eclass removal Package-Manager: portage-2.2.0_alpha8/cvs/Linux x86_64 --- sci-libs/lapack-atlas/lapack-atlas-3.9.21.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sci-libs/lapack-atlas/lapack-atlas-3.9.21.ebuild') 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}" \ -- cgit v1.2.3-65-gdbad