summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-12-01 16:55:59 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-12-01 16:55:59 +0000
commitb6657a467f6aa3e225b0a9c5c3d59169ea42bb57 (patch)
tree929efd550d957694ec9116be0743231cb6f81ec1 /sci-libs/netcdf
parentRemove use of fortran eclass (diff)
downloadgentoo-2-b6657a467f6aa3e225b0a9c5c3d59169ea42bb57.tar.gz
gentoo-2-b6657a467f6aa3e225b0a9c5c3d59169ea42bb57.tar.bz2
gentoo-2-b6657a467f6aa3e225b0a9c5c3d59169ea42bb57.zip
Remove use of fortran eclass
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/netcdf')
-rw-r--r--sci-libs/netcdf/ChangeLog5
-rw-r--r--sci-libs/netcdf/netcdf-3.6.3.ebuild15
2 files changed, 8 insertions, 12 deletions
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 <bicatali@gentoo.org> netcdf-3.6.3.ebuild:
+ Remove use of fortran eclass
22 Oct 2010; Fabian Groffen <grobian@gentoo.org> 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"
;;