blob: 1e35be5f4e3d3ef8fdbb2b9012c8ecb2424348b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
.TH FORTRAN.ECLASS 5 "Nov 2004" "Portage 2.0.51" "portage"
.SH NAME
fortran.eclass \- functions for fortran packages
.SH DESCRIPTION
The \fBfortran\fR eclass provides an interface to ease the integration of the
various fortran compilers available.
.SH VARIABLES
\fBNOTE\fR: since the \fBfortran\fR eclass does not check to see if the
following variables are set prior to inheritance, you must ensure that if you
need to define any of them, that you do so after inheritance occurs.
.TP
.B FORTRAN
Defines a list of fortran compilers that can be used for the build. Defaults
to 'f77'.
.TP
.B f77_CONF
Defines configure option that enables the use of the f77 compiler. Defaults
to '--with-f77'.
.TP
.B f2c_CONF
Defines configure option that enables the use of the f2c compiler. Defaults
to '--with-f2c'.
.SH FUNCTIONS
.TP
.B fortran_conf
Displays the necessary configure options for the currently selected fortran
compiler.
.TP
.B need_fortran \fI[ profile1 ] < profile2 >\fR
Checks to see if at least one of the specified profiles is installed. Currently
supported profiles include \fBf77\fR, \fBf2c\fR, and \fBifc\fR.
.TP
.B patch_fortran
Applies any patches located in \fB${FILESDIR}\fR named "\fB${P}\fR-COMPILER*",
where COMPILER is the fortran compiler currently selected for use.
.TP
.B fortran_pkg_setup
Default pkg_setup which calls \fBneed_fortran\fR to ensure that a suitable
fortran compiler is installed.
.TP
.B fortran_src_unpack
Default src_unpack which besides unpacking the distfile(s), calls
\fBpatch_fortran\fR to apply any compiler-specific patches.
.SH REPORTING BUGS
Please report bugs via http://bugs.gentoo.org/
.SH SEE ALSO
.BR ebuild (5)
.SH FILES
.BR /usr/portage/eclass/fortran.eclass
.SH AUTHORS
Aaron Walker <ka0ttic@gentoo.org>
.SH CVS HEADER
$Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/man/fortran.eclass.5,v 1.2 2005/02/10 01:37:36 vapier Exp $
|