summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-11-28 19:51:17 +0100
committerJustin Lecher <jlec@gentoo.org>2015-11-28 19:57:46 +0100
commit1a0596eeb5043996b42edd6915d9faae1a0b19b6 (patch)
tree590f132dc5557d483a6535d8c6656905785a4c35 /eclass/fortran-2.eclass
parentfortran-2.eclass: Only source eclass once (diff)
downloadgentoo-1a0596eeb5043996b42edd6915d9faae1a0b19b6.tar.gz
gentoo-1a0596eeb5043996b42edd6915d9faae1a0b19b6.tar.bz2
gentoo-1a0596eeb5043996b42edd6915d9faae1a0b19b6.zip
fortran-2.eclass: Fix whitespaces
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'eclass/fortran-2.eclass')
-rw-r--r--eclass/fortran-2.eclass32
1 files changed, 16 insertions, 16 deletions
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
index f26621e6b9ab..ac89bf1ecc7e 100644
--- a/eclass/fortran-2.eclass
+++ b/eclass/fortran-2.eclass
@@ -213,23 +213,23 @@ _fortran_test_function() {
# _The_ fortran-2_pkg_setup() code
_fortran-2_pkg_setup() {
for _f_use in ${FORTRAN_NEEDED}; do
- case ${_f_use} in
- always)
+ case ${_f_use} in
+ always)
+ _fortran_test_function && break
+ ;;
+ no)
+ einfo "Forcing fortran support off"
+ break
+ ;;
+ *)
+ if use ${_f_use}; then
_fortran_test_function && break
- ;;
- no)
- einfo "Forcing fortran support off"
- break
- ;;
- *)
- if use ${_f_use}; then
- _fortran_test_function && break
- else
- unset FC
- unset F77
- fi
- ;;
- esac
+ else
+ unset FC
+ unset F77
+ fi
+ ;;
+ esac
done
}