diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-12-01 17:02:07 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-12-01 17:02:07 +0000 |
commit | 87a0727ea2115ef5d0e9f98d648c2913a229d151 (patch) | |
tree | be3f685fba74b1b4f7b9ee31d6bc6f04fe449d2b /sci-libs/libbufr | |
parent | Initial commit. Ebuild by Oliver Jaksch, closes bug #342181. (diff) | |
download | historical-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/libbufr')
-rw-r--r-- | sci-libs/libbufr/ChangeLog | 7 | ||||
-rw-r--r-- | sci-libs/libbufr/libbufr-000360.ebuild | 16 |
2 files changed, 12 insertions, 11 deletions
diff --git a/sci-libs/libbufr/ChangeLog b/sci-libs/libbufr/ChangeLog index eeee420b7fbe..e8a32c4afef4 100644 --- a/sci-libs/libbufr/ChangeLog +++ b/sci-libs/libbufr/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-libs/libbufr -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/libbufr/ChangeLog,v 1.1 2008/12/07 02:48:14 nerdboy Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libbufr/ChangeLog,v 1.2 2010/12/01 16:59:04 bicatali Exp $ + + 01 Dec 2010; SĂ©bastien Fabbro <bicatali@gentoo.org> libbufr-000360.ebuild: + Remove use of fortran eclass *libbufr-000360 (07 Dec 2008) diff --git a/sci-libs/libbufr/libbufr-000360.ebuild b/sci-libs/libbufr/libbufr-000360.ebuild index c52a416efa4f..c45ebd66e0de 100644 --- a/sci-libs/libbufr/libbufr-000360.ebuild +++ b/sci-libs/libbufr/libbufr-000360.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/libbufr/libbufr-000360.ebuild,v 1.2 2008/12/31 03:41:08 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libbufr/libbufr-000360.ebuild,v 1.3 2010/12/01 16:59:04 bicatali Exp $ -inherit fortran eutils flag-o-matic toolchain-funcs +inherit eutils flag-o-matic toolchain-funcs MY_P="${PN/lib/}_${PV}" @@ -24,16 +24,14 @@ DEPEND="sys-apps/findutils" S=${WORKDIR}/${MY_P} pkg_setup() { - FORTRAN="gfortran g77 ifc ifort pgf77 pgf90" - fortran_pkg_setup - case "${FORTRANC}" in - gfortran) + case "$(tc-getFC)" in + *gfortran) export CNAME="_gfortran" ;; - g77) + *g77) export CNAME="_gnu" ;; - pgf90|pgf77) + *pgf90|*pgf77) export CNAME="_linux" ;; ifc|ifort) |