From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2745A1388C1 for ; Sat, 28 Nov 2015 18:58:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80C8121C113; Sat, 28 Nov 2015 18:58:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CD2A121C05D for ; Sat, 28 Nov 2015 18:58:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C2F173408F0 for ; Sat, 28 Nov 2015 18:58:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F165A92 for ; Sat, 28 Nov 2015 18:58:24 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1448737066.1a0596eeb5043996b42edd6915d9faae1a0b19b6.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/fortran-2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 1a0596eeb5043996b42edd6915d9faae1a0b19b6 X-VCS-Branch: master Date: Sat, 28 Nov 2015 18:58:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fa916769-c651-4403-bf43-bf20a3f16d8d X-Archives-Hash: cefff046e1c96384fbf501ee74b77cc1 commit: 1a0596eeb5043996b42edd6915d9faae1a0b19b6 Author: Justin Lecher gentoo org> AuthorDate: Sat Nov 28 18:51:17 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sat Nov 28 18:57:46 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0596ee fortran-2.eclass: Fix whitespaces Signed-off-by: Justin Lecher gentoo.org> eclass/fortran-2.eclass | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass index f26621e..ac89bf1 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 }