projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1f3560
)
darcs.eclass: use BDEPEND with EAPI >= 7
author
Michael Haubenwallner
<haubi@gentoo.org>
Wed, 29 May 2019 08:25:47 +0000
(10:25 +0200)
committer
Michael Haubenwallner
<haubi@gentoo.org>
Mon, 3 Jun 2019 08:24:37 +0000
(10:24 +0200)
Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
eclass/darcs.eclass
patch
|
blob
|
history
diff --git
a/eclass/darcs.eclass
b/eclass/darcs.eclass
index 489008a87f1e1e22b24d95e8ea54232a43d329af..09b718823670b2ed35efb8591861bbceefe27f4b 100644
(file)
--- 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: