summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-01-26 20:07:58 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-01-26 20:07:58 +0100
commit1a00ab38fd9fff352e45c184d859ef3cf4338f99 (patch)
tree52a01ad28dbf4d1c4a8162091fd2f9c5ad9a0e14
parentdev-python/pyjwt: Remove 2.0.0 (diff)
downloadgentoo-1a00ab38fd9fff352e45c184d859ef3cf4338f99.tar.gz
gentoo-1a00ab38fd9fff352e45c184d859ef3cf4338f99.tar.bz2
gentoo-1a00ab38fd9fff352e45c184d859ef3cf4338f99.zip
apache-2.eclass: Only reference lua in EAPI-7 ebuilds
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--eclass/apache-2.eclass2
1 files changed, 1 insertions, 1 deletions
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
}