1 |
--- |
2 |
eclass/cvs.eclass | 9 +++++++-- |
3 |
1 file changed, 7 insertions(+), 2 deletions(-) |
4 |
|
5 |
diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass |
6 |
index 8c9b41f586f3..ff23bd9df496 100644 |
7 |
--- a/eclass/cvs.eclass |
8 |
+++ b/eclass/cvs.eclass |
9 |
@@ -4,6 +4,7 @@ |
10 |
# @ECLASS: cvs.eclass |
11 |
# @MAINTAINER: |
12 |
# vapier@g.o (and anyone who wants to help) |
13 |
+# @SUPPORTED_EAPIS: 4 5 6 7 |
14 |
# @BLURB: This eclass provides generic cvs fetching functions |
15 |
# @DESCRIPTION: |
16 |
# This eclass provides the generic cvs fetching functions. To use this from an |
17 |
@@ -185,10 +186,14 @@ if [[ ${ECVS_AUTH} == "ext" ]] ; then |
18 |
DEPEND+=" net-misc/openssh" |
19 |
fi |
20 |
|
21 |
+case ${EAPI:-0} in |
22 |
+ 4|5|6) ;; |
23 |
+ 7) BDEPEND="${DEPEND}"; DEPEND="" ;; |
24 |
+ *) die "${ECLASS}: EAPI ${EAPI:-0} is not supported" ;; |
25 |
+esac |
26 |
+ |
27 |
# called from cvs_src_unpack |
28 |
cvs_fetch() { |
29 |
- has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX= |
30 |
- |
31 |
# Make these options local variables so that the global values are |
32 |
# not affected by modifications in this function. |
33 |
|
34 |
-- |
35 |
2.22.0 |