commit: 48c530e0a8b9bdb84ed1e1871a934dbef2d71183 Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org> AuthorDate: Wed May 29 08:25:47 2019 +0000 Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org> CommitDate: Mon Jun 3 08:24:37 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48c530e0
darcs.eclass: use BDEPEND with EAPI >= 7 Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org> eclass/darcs.eclass | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/eclass/darcs.eclass b/eclass/darcs.eclass index 489008a87f1..09b71882367 100644 --- a/eclass/darcs.eclass +++ b/eclass/darcs.eclass @@ -85,8 +85,16 @@ SRC_URI="" # --- end ebuild-configurable settings --- -DEPEND="dev-vcs/darcs - net-misc/rsync" +case ${EAPI:-0} in + [0-6]) # no need to care about 5-HDEPEND and similar + DEPEND="dev-vcs/darcs + net-misc/rsync" + ;; + *) + BDEPEND="dev-vcs/darcs + net-misc/rsync" + ;; +esac # @FUNCTION: darcs_patchcount # @DESCRIPTION: