* [gentoo-commits] repo/gentoo:master commit in: eclass/
@ 2015-11-28 18:44 99% Justin Lecher
0 siblings, 0 replies; 1+ results
From: Justin Lecher @ 2015-11-28 18:44 UTC (permalink / raw
To: gentoo-commits
commit: d4f42ce9bcfdf96a7eec6b149680cebbc191efd1
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 28 18:40:27 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Nov 28 18:43:51 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4f42ce9
fortran-2.eclass: Respect fortran as test dep
If fortran is only needed for test, then there is no
need to add it to RDEPEND.
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
eclass/fortran-2.eclass | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
index 03fb462..78ce1f3 100644
--- a/eclass/fortran-2.eclass
+++ b/eclass/fortran-2.eclass
@@ -60,17 +60,20 @@ for _f_use in ${FORTRAN_NEEDED}; do
case ${_f_use} in
always)
DEPEND+=" virtual/fortran"
+ RDEPEND+=" virtual/fortran"
break
;;
no)
break
;;
+ test)
+ DEPEND+=" ${_f_use}? ( virtual/fortran )"
*)
DEPEND+=" ${_f_use}? ( virtual/fortran )"
+ RDEPEND+=" ${_f_use}? ( virtual/fortran )"
;;
esac
done
-RDEPEND="${DEPEND}"
# @FUNCTION: _fortran_write_testsuite
# @INTERNAL
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-11-28 18:44 99% [gentoo-commits] repo/gentoo:master commit in: eclass/ Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox