From 8dfcbd2d7d9065dea01fb259896b433ead86630b Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Tue, 26 Jan 2021 11:33:47 +0100 Subject: 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 --- eclass/apache-2.eclass | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'eclass') 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 -- cgit v1.2.3-65-gdbad