summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/darcs.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: