diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-21 17:32:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-21 17:32:00 +0100 |
commit | 61f10f985e19dfe20a4d9552902625edd5b6eabb (patch) | |
tree | 50db31971b38c4e0358253ef5005058a46fc773e /eclass/apache-module.eclass | |
parent | 34dea8e38f88007799629d0a56b12dec480b1d21 (diff) |
gentoo resync : 21.06.2021
Diffstat (limited to 'eclass/apache-module.eclass')
-rw-r--r-- | eclass/apache-module.eclass | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/eclass/apache-module.eclass b/eclass/apache-module.eclass index 4c88f14566a1..2594445c8b4f 100644 --- a/eclass/apache-module.eclass +++ b/eclass/apache-module.eclass @@ -4,6 +4,7 @@ # @ECLASS: apache-module.eclass # @MAINTAINER: # apache-bugs@gentoo.org +# @SUPPORTED_EAPIS: 5 6 7 # @BLURB: Provides a common set of functions for apache modules # @DESCRIPTION: # This eclass handles apache modules in a sane way. @@ -44,6 +45,16 @@ # </IfDefine> # @CODE +case ${EAPI} in + [5-7]) ;; + *) die "EAPI=${EAPI:-0} is not supported" ;; +esac + +EXPORT_FUNCTIONS src_compile src_install pkg_postinst + +if [[ -z ${_APACHE_MODULE_ECLASS} ]]; then +_APACHE_MODULE_ECLASS=1 + inherit depend.apache # ============================================================================== @@ -235,4 +246,4 @@ apache-module_pkg_postinst() { fi } -EXPORT_FUNCTIONS src_compile src_install pkg_postinst +fi |