diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-12-16 14:33:46 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-12-16 14:33:46 +0000 |
commit | 907b3c718bbf7861f8292ca25c457ce6ae3265f5 (patch) | |
tree | 915ad4a8327c0cac2a79910055f7bfaac47fcbcc /sci-libs/blas-atlas/blas-atlas-3.9.23-r4.ebuild | |
parent | Convert to virtual/jpeg, bug #347980 by Andrew Savchenko <bircoph@gmail.com>. (diff) | |
download | historical-907b3c718bbf7861f8292ca25c457ce6ae3265f5.tar.gz historical-907b3c718bbf7861f8292ca25c457ce6ae3265f5.tar.bz2 historical-907b3c718bbf7861f8292ca25c457ce6ae3265f5.zip |
Removal of fortran.eclass, #348851
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.ebuild | 12 |
1 files changed, 5 insertions, 7 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 dbadcbb8125d..ed78a5faad2a 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,10 +1,10 @@ # 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.1 2010/04/28 07:28:46 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.9.23-r4.ebuild,v 1.2 2010/12/16 14:20:20 jlec Exp $ EAPI="3" -inherit eutils toolchain-funcs fortran multilib +inherit eutils toolchain-funcs multilib DESCRIPTION="Automatically Tuned Linear Algebra Software BLAS implementation" HOMEPAGE="http://math-atlas.sourceforge.net/" @@ -37,8 +37,6 @@ pkg_setup() { die "blas-atlas won't compile with icc" fi - FORTRAN="g77 gfortran ifc" - fortran_pkg_setup echo ewarn "Please make sure to disable CPU throttling completely" ewarn "during the compile of blas-atlas. Otherwise, all atlas" @@ -110,7 +108,7 @@ src_configure() { --libdir="${ED}"/usr/$(get_libdir)/atlas \ --incdir="${ED}"/usr/include \ -C ac "${c_compiler}" -F ac "${CFLAGS}" \ - -C if ${FORTRANC} -F if "${FFLAGS:-'-O2'}" \ + -C if $(tc-getFC) -F if "${FFLAGS:-'-O2'}" \ -Ss pmake "\$(MAKE) ${MAKEOPTS}" \ -Si cputhrchk 0 ${archselect} \ || die "configure failed" @@ -166,8 +164,8 @@ src_install () { # pkgconfig files local extlibs="-lm" local threadlibs - [[ ${FORTRANC} == gfortran ]] && extlibs="${extlibs} -lgfortran" - [[ ${FORTRANC} == 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 \ |