summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-12-01 17:02:07 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-12-01 17:02:07 +0000
commit87a0727ea2115ef5d0e9f98d648c2913a229d151 (patch)
treebe3f685fba74b1b4f7b9ee31d6bc6f04fe449d2b /sci-libs/netcdf
parentInitial commit. Ebuild by Oliver Jaksch, closes bug #342181. (diff)
downloadhistorical-87a0727ea2115ef5d0e9f98d648c2913a229d151.tar.gz
historical-87a0727ea2115ef5d0e9f98d648c2913a229d151.tar.bz2
historical-87a0727ea2115ef5d0e9f98d648c2913a229d151.zip
Remove use of fortran eclass
Package-Manager: portage-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"
;;