| 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.2 2011/06/21 08:06:56 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 |
| … | |
… | |
| 147 | fi |
147 | fi |
| 148 | tc-export F77 FC |
148 | tc-export F77 FC |
| 149 | } |
149 | } |
| 150 | |
150 | |
| 151 | case ${EAPI:-0} in |
151 | case ${EAPI:-0} in |
| 152 | 1|2|3|4) EXPORT_FUNCTIONS pkg_setup ;; |
152 | 0|1|2|3|4) EXPORT_FUNCTIONS pkg_setup ;; |
| 153 | *) die "EAPI=${EAPI} is not supported" ;; |
153 | *) die "EAPI=${EAPI} is not supported" ;; |
| 154 | esac |
154 | esac |