From 87a0727ea2115ef5d0e9f98d648c2913a229d151 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Wed, 1 Dec 2010 17:02:07 +0000 Subject: Remove use of fortran eclass Package-Manager: portage-2.1.9.25/cvs/Linux x86_64 --- sci-libs/netcdf/ChangeLog | 5 ++++- sci-libs/netcdf/netcdf-3.6.3.ebuild | 15 ++++----------- 2 files changed, 8 insertions(+), 12 deletions(-) (limited to 'sci-libs/netcdf') diff --git a/sci-libs/netcdf/ChangeLog b/sci-libs/netcdf/ChangeLog index 21c0271c77c9..de6dd5117a47 100644 --- a/sci-libs/netcdf/ChangeLog +++ b/sci-libs/netcdf/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-libs/netcdf # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.74 2010/10/22 10:31:42 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.75 2010/12/01 16:55:59 bicatali Exp $ + + 01 Dec 2010; Sébastien Fabbro netcdf-3.6.3.ebuild: + Remove use of fortran eclass 22 Oct 2010; Fabian Groffen netcdf-4.1.1.ebuild: Marked ~ppc-macos diff --git a/sci-libs/netcdf/netcdf-3.6.3.ebuild b/sci-libs/netcdf/netcdf-3.6.3.ebuild index ddc67df3683a..a91e8dc5ba4e 100644 --- a/sci-libs/netcdf/netcdf-3.6.3.ebuild +++ b/sci-libs/netcdf/netcdf-3.6.3.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/netcdf/netcdf-3.6.3.ebuild,v 1.14 2010/06/22 14:30:06 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-3.6.3.ebuild,v 1.15 2010/12/01 16:55:59 bicatali Exp $ EAPI=2 -inherit fortran eutils toolchain-funcs flag-o-matic autotools +inherit eutils toolchain-funcs flag-o-matic autotools DESCRIPTION="Scientific library and interface for array oriented data access" SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/${P}.tar.gz" @@ -20,13 +20,6 @@ DEPEND="${RDEPEND} >=sys-devel/libtool-2.2 doc? ( virtual/latex-base )" -pkg_setup() { - if use fortran ; then - FORTRAN="gfortran ifc g77 pgf77 pgf90" - fortran_pkg_setup - fi -} - src_prepare() { epatch "${FILESDIR}"/${P}-as-needed.patch epatch "${FILESDIR}"/${P}-parallel.patch @@ -37,8 +30,8 @@ src_configure() { use debug || append-cppflags -DNDEBUG local myconf if use fortran; then - case "${FORTRANC}" in - g77) + case "$(tc-getFC)" in + *g77) myconf="${myconf} --enable-f77 --disable-f90" myconf="${myconf} F77=g77" ;; -- cgit v1.2.3-65-gdbad