aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-13 10:20:05 +0200
committerJustin Lecher <jlec@gentoo.org>2011-06-13 10:20:05 +0200
commit8cde4523ae7fe804a5dc209299e7cec780454bd9 (patch)
tree1e52064aa0ced13e400fd343c652c2de965eb543 /eclass
parentFix pkg-config files, #369263 (diff)
downloadsci-8cde4523ae7fe804a5dc209299e7cec780454bd9.tar.gz
sci-8cde4523ae7fe804a5dc209299e7cec780454bd9.tar.bz2
sci-8cde4523ae7fe804a5dc209299e7cec780454bd9.zip
fix typos
Diffstat (limited to 'eclass')
-rw-r--r--eclass/fortran-2.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
index 339fe56b8..051182668 100644
--- a/eclass/fortran-2.eclass
+++ b/eclass/fortran-2.eclass
@@ -9,7 +9,7 @@
# @MAINTAINER:
# jlec@gentoo.org
# sci@gentoo.org
-# @BLURB: Packages, which need a frortran compiler should inherit this eclass.
+# @BLURB: Packages, which need a fortran compiler should inherit this eclass.
# @DESCRIPTION:
# If you need a fortran compiler, inherit this eclass. This eclass tests for
# working fortran compilers. Optional, it checks for openmp capability of the
@@ -18,7 +18,7 @@
# @ECLASS-VARIABLE: FC_NEED_OPENMP
# @DESCRIPTION:
-# SET FC_NEED_OPENMP=1 in order to test FC for openmp capabilities
+# Set FC_NEED_OPENMP=1 in order to test FC for openmp capabilities
#
# Default is 0
@@ -103,6 +103,7 @@ get_fcomp() {
fortran-2_pkg_setup() {
_have-valid-fortran || \
die "Please emerge the current gcc with USE=fortran or export FC defining a working fortran compiler"
+ export FC="$(tc-getFC)"
export F77="$(tc-getFC)"
export F90="$(tc-getFC)"
export F95="$(tc-getFC)"