/[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.9 Revision 1.10
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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.9 2012/10/07 13:15:52 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.10 2012/10/07 13:30:23 jlec Exp $
4 4
5# @ECLASS: fortran-2.eclass 5# @ECLASS: fortran-2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# jlec@gentoo.org 7# jlec@gentoo.org
8# sci@gentoo.org 8# sci@gentoo.org
31# Generally not needed as default is sufficient. 31# Generally not needed as default is sufficient.
32# 32#
33# Valid settings are any combination of: 77 90 95 2003 33# Valid settings are any combination of: 77 90 95 2003
34: ${FORTRAN_STANDARD:=77} 34: ${FORTRAN_STANDARD:=77}
35 35
36inherit toolchain-funcs 36inherit eutils toolchain-funcs
37 37
38# @FUNCTION: _write_testsuite 38# @FUNCTION: _write_testsuite
39# @INTERNAL 39# @INTERNAL
40# @DESCRIPTION: 40# @DESCRIPTION:
41# writes fortran test code 41# writes fortran test code
153 153
154case ${EAPI:-0} in 154case ${EAPI:-0} in
155 0|1|2|3|4|5) EXPORT_FUNCTIONS pkg_setup ;; 155 0|1|2|3|4|5) EXPORT_FUNCTIONS pkg_setup ;;
156 *) die "EAPI=${EAPI} is not supported" ;; 156 *) die "EAPI=${EAPI} is not supported" ;;
157esac 157esac
158
159if in_iuse fortran; then
160 DEPEND="fortran? ( virtual/fortran )"
161else
162 DEPEND="virtual/fortran"
163fi
164
165RDEPEND="${DEPEND}"

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20