mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
darcs.eclass: use BDEPEND with EAPI >= 7
Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user