summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-10-07 13:15:52 +0000
committerJustin Lecher <jlec@gentoo.org>2012-10-07 13:15:52 +0000
commitf7c416a3a67e82cd844c2f56cacbd369e8ae17c4 (patch)
treedaf336e82ca7b775c871ef8efcefbd3476ea2721 /eclass/fortran-2.eclass
parentDepend on virtual/fortran eclass wise, #435250 (diff)
downloadhistorical-f7c416a3a67e82cd844c2f56cacbd369e8ae17c4.tar.gz
historical-f7c416a3a67e82cd844c2f56cacbd369e8ae17c4.tar.bz2
historical-f7c416a3a67e82cd844c2f56cacbd369e8ae17c4.zip
Revert last change to not break packages with optional fortran support
Diffstat (limited to 'eclass/fortran-2.eclass')
-rw-r--r--eclass/fortran-2.eclass8
1 files changed, 3 insertions, 5 deletions
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
index 3c54445f65a5..cee06ae8430d 100644
--- a/eclass/fortran-2.eclass
+++ b/eclass/fortran-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.8 2012/10/07 13:10:27 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.9 2012/10/07 13:15:52 jlec Exp $
# @ECLASS: fortran-2.eclass
# @MAINTAINER:
@@ -11,7 +11,8 @@
# 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
+# If you need a fortran compiler, then you should be inheriting this eclass and
+# adding virtual/fortran to your dependencies.
# The eclass tests for working fortran compilers
# and exports the variables FC and F77.
# Optionally, it checks for extended capabilities based on
@@ -154,6 +155,3 @@ case ${EAPI:-0} in
0|1|2|3|4|5) EXPORT_FUNCTIONS pkg_setup ;;
*) die "EAPI=${EAPI} is not supported" ;;
esac
-
-DEPEND="virtual/fortran"
-RDEPEND="${DEPEND}"