commit:     1a00ab38fd9fff352e45c184d859ef3cf4338f99
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 26 19:07:58 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Jan 26 19:07:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a00ab38

apache-2.eclass: Only reference lua in EAPI-7 ebuilds

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 eclass/apache-2.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index 8e0235d013f..0177b5987d4 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -461,7 +461,7 @@ apache-2_pkg_setup() {
                elog
        fi
 
-       if use apache2_modules_lua ; then
+       if [[ "${EAPI}" -ge 7 ]] && use apache2_modules_lua ; then
                lua-single_pkg_setup
        fi
 }

Reply via email to