summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2019-05-29 10:25:47 +0200
committerMichael Haubenwallner <haubi@gentoo.org>2019-06-03 10:24:37 +0200
commit48c530e0a8b9bdb84ed1e1871a934dbef2d71183 (patch)
treecf9abfaec9d62d9121d9639520e91b4e4fa4cb19 /eclass
parentsci-chemistry/gromacs: http -> https for repo.or.cz (diff)
downloadgentoo-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')
-rw-r--r--eclass/darcs.eclass12
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: