/[gentoo-x86]/eclass/fortran-2.eclass
Gentoo

Diff of /eclass/fortran-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.3
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.1 2011/06/21 06:44:02 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.3 2011/06/21 14:05:30 jlec Exp $
4 4
5# Author Justin Lecher <jlec@gentoo.org> 5# Author Justin Lecher <jlec@gentoo.org>
6# Test functions provided by Sebastien Fabbro and Kacper Kowalik 6# Test functions provided by Sebastien Fabbro and Kacper Kowalik
7 7
8# @ECLASS: fortran-2.eclass 8# @ECLASS: fortran-2.eclass
31# 31#
32# Valid settings are any combination of: 77 90 95 2003 32# Valid settings are any combination of: 77 90 95 2003
33: ${FORTRAN_STANDARD:=77} 33: ${FORTRAN_STANDARD:=77}
34 34
35inherit toolchain-funcs 35inherit toolchain-funcs
36
37DEPEND="virtual/fortran"
38RDEPEND="${DEPEND}"
39 36
40# @FUNCTION: _write_testsuite 37# @FUNCTION: _write_testsuite
41# @DESCRIPTION: writes fortran test code 38# @DESCRIPTION: writes fortran test code
42# @INTERNAL 39# @INTERNAL
43_write_testsuite() { 40_write_testsuite() {
147 fi 144 fi
148 tc-export F77 FC 145 tc-export F77 FC
149} 146}
150 147
151case ${EAPI:-0} in 148case ${EAPI:-0} in
152 1|2|3|4) EXPORT_FUNCTIONS pkg_setup ;; 149 0|1|2|3|4) EXPORT_FUNCTIONS pkg_setup ;;
153 *) die "EAPI=${EAPI} is not supported" ;; 150 *) die "EAPI=${EAPI} is not supported" ;;
154esac 151esac

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20