diff options
author | Michael Haubenwallner <haubi@gentoo.org> | 2019-05-29 10:25:47 +0200 |
---|---|---|
committer | Michael Haubenwallner <haubi@gentoo.org> | 2019-06-03 10:24:37 +0200 |
commit | 48c530e0a8b9bdb84ed1e1871a934dbef2d71183 (patch) | |
tree | cf9abfaec9d62d9121d9639520e91b4e4fa4cb19 /eclass/darcs.eclass | |
parent | sci-chemistry/gromacs: http -> https for repo.or.cz (diff) | |
download | gentoo-48c530e0a8b9bdb84ed1e1871a934dbef2d71183.tar.gz gentoo-48c530e0a8b9bdb84ed1e1871a934dbef2d71183.tar.bz2 gentoo-48c530e0a8b9bdb84ed1e1871a934dbef2d71183.zip |
darcs.eclass: use BDEPEND with EAPI >= 7
Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
Diffstat (limited to 'eclass/darcs.eclass')
-rw-r--r-- | eclass/darcs.eclass | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/eclass/darcs.eclass b/eclass/darcs.eclass index 489008a87f1e..09b718823670 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: |