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
commitf3f8e92fb176d6d0c66e5dd319228d4fb90c3865 (patch)
tree59edce78bfbad8faf700741fe759cc1ebcc34635 /eclass/fortran-2.eclass
parentDepend on virtual/fortran eclass wise, #435250 (diff)
downloadgentoo-2-f3f8e92fb176d6d0c66e5dd319228d4fb90c3865.tar.gz
gentoo-2-f3f8e92fb176d6d0c66e5dd319228d4fb90c3865.tar.bz2
gentoo-2-f3f8e92fb176d6d0c66e5dd319228d4fb90c3865.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}"