1 |
Signed-off-by: David Seifert <soap@g.o> |
2 |
--- |
3 |
eclass/apache-module.eclass | 11 +++++------ |
4 |
1 file changed, 5 insertions(+), 6 deletions(-) |
5 |
|
6 |
diff --git a/eclass/apache-module.eclass b/eclass/apache-module.eclass |
7 |
index 60631171ed91..8074aff5ddcb 100644 |
8 |
--- a/eclass/apache-module.eclass |
9 |
+++ b/eclass/apache-module.eclass |
10 |
@@ -1,18 +1,17 @@ |
11 |
-# Copyright 1999-2021 Gentoo Authors |
12 |
+# Copyright 1999-2023 Gentoo Authors |
13 |
# Distributed under the terms of the GNU General Public License v2 |
14 |
|
15 |
# @ECLASS: apache-module.eclass |
16 |
# @MAINTAINER: |
17 |
# apache-bugs@g.o |
18 |
-# @SUPPORTED_EAPIS: 5 6 7 |
19 |
+# @SUPPORTED_EAPIS: 6 7 |
20 |
# @BLURB: Provides a common set of functions for apache modules |
21 |
# @DESCRIPTION: |
22 |
# This eclass handles apache modules in a sane way. |
23 |
# |
24 |
# To make use of this eclass simply call one of the need/want_apache functions |
25 |
# described in depend.apache.eclass. Make sure you use the need/want_apache call |
26 |
-# after you have defined DEPEND and RDEPEND. Also note that you can not rely on |
27 |
-# the automatic RDEPEND=DEPEND that portage does if you use this eclass. |
28 |
+# after you have defined DEPEND and RDEPEND. |
29 |
# |
30 |
# See Bug 107127 for more information. |
31 |
# |
32 |
@@ -46,8 +45,8 @@ |
33 |
# @CODE |
34 |
|
35 |
case ${EAPI} in |
36 |
- [5-7]) ;; |
37 |
- *) die "EAPI=${EAPI:-0} is not supported" ;; |
38 |
+ 6|7) ;; |
39 |
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
40 |
esac |
41 |
|
42 |
if [[ -z ${_APACHE_MODULE_ECLASS} ]]; then |
43 |
-- |
44 |
2.40.0 |