diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-12-17 08:10:35 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-12-17 08:10:35 +0000 |
commit | 45940ad3a2ad3e0f445bd4ce18abf5edfc0d990a (patch) | |
tree | bd5aba6398b12635deba0cba60da3799ba8c72ee /sci-libs/lapack-atlas/lapack-atlas-3.9.21-r1.ebuild | |
parent | Fix for fortran.eclass removal (diff) | |
download | gentoo-2-45940ad3a2ad3e0f445bd4ce18abf5edfc0d990a.tar.gz gentoo-2-45940ad3a2ad3e0f445bd4ce18abf5edfc0d990a.tar.bz2 gentoo-2-45940ad3a2ad3e0f445bd4ce18abf5edfc0d990a.zip |
Fix for fortran.eclass removal
(Portage version: 2.2.0_alpha8/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/lapack-atlas/lapack-atlas-3.9.21-r1.ebuild')
-rw-r--r-- | sci-libs/lapack-atlas/lapack-atlas-3.9.21-r1.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-libs/lapack-atlas/lapack-atlas-3.9.21-r1.ebuild b/sci-libs/lapack-atlas/lapack-atlas-3.9.21-r1.ebuild index 5ced8d9d6a23..c157fdda13e2 100644 --- a/sci-libs/lapack-atlas/lapack-atlas-3.9.21-r1.ebuild +++ b/sci-libs/lapack-atlas/lapack-atlas-3.9.21-r1.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-r1.ebuild,v 1.2 2010/12/16 14:32:39 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.9.21-r1.ebuild,v 1.3 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}" \ |