diff options
author | 2010-12-16 14:09:09 +0000 | |
---|---|---|
committer | 2010-12-16 14:09:09 +0000 | |
commit | 97c1ab4a2059eb023a1320d5337160e5aa9b4f93 (patch) | |
tree | 12b6015a11244bbe073d7ed965f884a410a7cf0d /sci-libs/acml/acml-3.6.0-r1.ebuild | |
parent | Removal of fortran.eclass, #348851 (diff) | |
download | gentoo-2-97c1ab4a2059eb023a1320d5337160e5aa9b4f93.tar.gz gentoo-2-97c1ab4a2059eb023a1320d5337160e5aa9b4f93.tar.bz2 gentoo-2-97c1ab4a2059eb023a1320d5337160e5aa9b4f93.zip |
Removal of fortran.eclass, #348851
(Portage version: 2.2.0_alpha8/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/acml/acml-3.6.0-r1.ebuild')
-rw-r--r-- | sci-libs/acml/acml-3.6.0-r1.ebuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sci-libs/acml/acml-3.6.0-r1.ebuild b/sci-libs/acml/acml-3.6.0-r1.ebuild index 48fdb665bf16..a59848c33736 100644 --- a/sci-libs/acml/acml-3.6.0-r1.ebuild +++ b/sci-libs/acml/acml-3.6.0-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/acml/acml-3.6.0-r1.ebuild,v 1.9 2008/04/22 08:13:19 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/acml/acml-3.6.0-r1.ebuild,v 1.10 2010/12/16 14:09:09 jlec Exp $ -inherit eutils toolchain-funcs fortran +inherit eutils toolchain-funcs DESCRIPTION="AMD Core Math Library (ACML) for x86 and amd64 CPUs" HOMEPAGE="http://developer.amd.com/acml.jsp" @@ -51,7 +51,6 @@ pkg_setup() { FORTRAN=ifc FORT=ifort ! use ifc && ! use openmp && FORTRAN=g77 && FORT=gnu - fortran_pkg_setup } src_unpack() { @@ -69,7 +68,7 @@ src_test() { cd "${S}"/${fort}/examples/${d} emake \ ACMLDIR="${S}"/${fort} \ - F77=${FORTRANC} \ + F77=$(tc-getFC) \ CC="$(tc-getCC)" \ CPLUSPLUS="$(tc-getCXX)" \ || die "emake test in ${fort}/examples/${d} failed" @@ -89,7 +88,7 @@ src_install() { cp -pPR "${S}/${fort}" "${D}"${instdir} || die "copy ${fort} failed" # install profiles - ESELECT_PROF=acml-${FORTRANC} + ESELECT_PROF=acml-$(tc-getFC) local acmldir=${instdir}/${fort} local acmllibs="-lacml -lacml_mv" local libname=${acmldir}/lib/libacml |