diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-01-26 11:33:47 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-01-26 11:48:31 +0100 |
commit | 8dfcbd2d7d9065dea01fb259896b433ead86630b (patch) | |
tree | 7c7de402eb4502c9a16a297e90bcc8d6f945148f /eclass | |
parent | apache-2.eclass: Minor style fix (diff) | |
download | gentoo-8dfcbd2d7d9065dea01fb259896b433ead86630b.tar.gz gentoo-8dfcbd2d7d9065dea01fb259896b433ead86630b.tar.bz2 gentoo-8dfcbd2d7d9065dea01fb259896b433ead86630b.zip |
www-servers/apache: EAPI-7 revbump
Added lua module support
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/apache-2.eclass | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass index 570aced1cd87..8e0235d013f3 100644 --- a/eclass/apache-2.eclass +++ b/eclass/apache-2.eclass @@ -10,7 +10,7 @@ # This eclass handles apache-2.x ebuild functions such as LoadModule generation # and inter-module dependency checking. -inherit autotools flag-o-matic multilib ssl-cert user toolchain-funcs eapi7-ver +inherit autotools flag-o-matic multilib ssl-cert user toolchain-funcs [[ ${CATEGORY}/${PN} != www-servers/apache ]] \ && die "Do not use this eclass with anything else than www-servers/apache ebuilds!" @@ -19,6 +19,13 @@ case ${EAPI:-0} in 0|1|2|3|4|5) die "This eclass is banned for EAPI<6" ;; + 6) + inherit eapi7-ver + ;; + *) + LUA_COMPAT=( lua5-{1..4} ) + inherit lua-single + ;; esac # settings which are version specific go in here: @@ -453,6 +460,10 @@ apache-2_pkg_setup() { fi elog fi + + if use apache2_modules_lua ; then + lua-single_pkg_setup + fi } # @FUNCTION: apache-2_src_prepare |