summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-08-22 04:46:32 +0000
committerMike Frysinger <vapier@gentoo.org>2011-08-22 04:46:32 +0000
commit8257c84439caa6bcb0a5d2ead7cb4629e4444190 (patch)
tree5a207927cc393287314c7cb213451b08444ca939 /eclass/fortran-2.eclass
parentVersion bump (diff)
downloadgentoo-2-8257c84439caa6bcb0a5d2ead7cb4629e4444190.tar.gz
gentoo-2-8257c84439caa6bcb0a5d2ead7cb4629e4444190.tar.bz2
gentoo-2-8257c84439caa6bcb0a5d2ead7cb4629e4444190.zip
fix random bugs in eclass documentation, and convert to new @AUTHOR tag
Diffstat (limited to 'eclass/fortran-2.eclass')
-rw-r--r--eclass/fortran-2.eclass18
1 files changed, 10 insertions, 8 deletions
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
index b196e83bb454..62341fbb52c4 100644
--- a/eclass/fortran-2.eclass
+++ b/eclass/fortran-2.eclass
@@ -1,14 +1,14 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.4 2011/06/21 14:11:31 jlec Exp $
-
-# Author Justin Lecher <jlec@gentoo.org>
-# Test functions provided by Sebastien Fabbro and Kacper Kowalik
+# $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.5 2011/08/22 04:46:31 vapier Exp $
# @ECLASS: fortran-2.eclass
# @MAINTAINER:
# jlec@gentoo.org
# sci@gentoo.org
+# @AUTHOR:
+# Author Justin Lecher <jlec@gentoo.org>
+# Test functions provided by Sebastien Fabbro and Kacper Kowalik
# @BLURB: Simplify fortran compiler management
# @DESCRIPTION:
# If you need a fortran compiler, then you should be inheriting this eclass and
@@ -36,8 +36,9 @@
inherit toolchain-funcs
# @FUNCTION: _write_testsuite
-# @DESCRIPTION: writes fortran test code
# @INTERNAL
+# @DESCRIPTION:
+# writes fortran test code
_write_testsuite() {
local filebase=${T}/test-fortran
@@ -59,10 +60,10 @@ _write_testsuite() {
}
# @FUNCTION: _compile_test
+# @INTERNAL
# @DESCRIPTION:
# Takes fortran compiler as first argument and dialect as second.
# Checks whether the passed fortran compiler speaks the fortran dialect
-# @INTERNAL
_compile_test() {
local filebase=${T}/test-fortran
local fcomp=${1}
@@ -82,9 +83,9 @@ _compile_test() {
}
# @FUNCTION: _fortran-has-openmp
+# @INTERNAL
# @DESCRIPTION:
# See if the fortran supports OpenMP.
-# @INTERNAL
_fortran-has-openmp() {
local flag
local filebase=${T}/test-fc-openmp
@@ -108,8 +109,9 @@ _fortran-has-openmp() {
}
# @FUNCTION: _die_msg
-# @DESCRIPTION: Detailed description how to handle fortran support
# @INTERNAL
+# @DESCRIPTION:
+# Detailed description how to handle fortran support
_die_msg() {
echo
eerror "Please install currently selected gcc version with USE=fortran."