diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2008-11-07 00:53:30 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2008-11-07 00:53:30 +0000 |
commit | a92cadff416cc4ec0637a45d51691a088a66a734 (patch) | |
tree | 61c89ab5b78d3eb3060ca53a462d2c4b64ff7b96 /eclass/fortran.eclass | |
parent | (#245504) This ebuild was wrongly updated for the blackdown removal, which br... (diff) | |
download | gentoo-2-a92cadff416cc4ec0637a45d51691a088a66a734.tar.gz gentoo-2-a92cadff416cc4ec0637a45d51691a088a66a734.tar.bz2 gentoo-2-a92cadff416cc4ec0637a45d51691a088a66a734.zip |
Set MY_FORTRAN correctly when only FC and not F77 or F2C are set.
Diffstat (limited to 'eclass/fortran.eclass')
-rw-r--r-- | eclass/fortran.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/fortran.eclass b/eclass/fortran.eclass index fbc93a1d174a..d1c1d7d1014f 100644 --- a/eclass/fortran.eclass +++ b/eclass/fortran.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/fortran.eclass,v 1.19 2008/07/03 06:24:06 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/fortran.eclass,v 1.20 2008/11/07 00:53:30 dberkholz Exp $ # # Author: Danny van Dyk <kugelfang@gentoo.org> # @@ -144,6 +144,8 @@ need_fortran() { else if [ -n "${F2C}" ]; then MY_FORTRAN="$(basename ${F2C})" + elif [ -n "${FC}" ]; then + MY_FORTRAN="$(basename ${FC})" else MY_FORTRAN="$(basename ${F77})" fi |