diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2006-06-05 08:51:09 +0000 |
---|---|---|
committer | Donnie Berkholz <spyderous@gentoo.org> | 2006-06-05 08:51:09 +0000 |
commit | 56205fb37db56868f8af80977b37f91ed2aa42f0 (patch) | |
tree | 8a9a7890b6c3ffae24fe0c90579a040705d3bd9d /eclass/fortran.eclass | |
parent | removed reference to non-existant doc patch - bug #135602 (diff) | |
download | gentoo-2-56205fb37db56868f8af80977b37f91ed2aa42f0.tar.gz gentoo-2-56205fb37db56868f8af80977b37f91ed2aa42f0.tar.bz2 gentoo-2-56205fb37db56868f8af80977b37f91ed2aa42f0.zip |
Prefer to call ifort over ifc, when using the ifc profile.
Diffstat (limited to 'eclass/fortran.eclass')
-rw-r--r-- | eclass/fortran.eclass | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/fortran.eclass b/eclass/fortran.eclass index e883343ba864..2a23919b0560 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.15 2006/06/05 06:56:08 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/fortran.eclass,v 1.16 2006/06/05 08:51:09 spyderous Exp $ # # Author: Danny van Dyk <kugelfang@gentoo.org> # @@ -66,7 +66,9 @@ need_fortran() { ifc) case ${ARCH} in x86|ia64|amd64) - if [ -x "$(which ifc 2> /dev/null)" ]; then + if [ -x "$(which ifort 2> /dev/null)" ]; then + AVAILABLE="${AVAILABLE} ifort" + elif [ -x "$(which ifc 2> /dev/null)" ]; then AVAILABLE="${AVAILABLE} ifc" fi ;; @@ -147,7 +149,7 @@ need_fortran() { fi case ${MY_FORTRAN} in - gfortran|g77|ifc|f2c) + gfortran|g77|ifc|ifort|f2c|f95) FORTRANC="${MY_FORTRAN}" esac fi |