summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2021-01-26 15:19:14 -0500
committerMike Gilbert <floppym@gentoo.org>2021-01-26 15:19:14 -0500
commitbcd3cdecc66f0c991a4069aa00476bd9de5ae978 (patch)
tree2ca5a930efc6a562a3f822f28a84459d7561fed4 /eclass
parentnet-fs/samba: Removed old (diff)
downloadgentoo-bcd3cdecc66f0c991a4069aa00476bd9de5ae978.tar.gz
gentoo-bcd3cdecc66f0c991a4069aa00476bd9de5ae978.tar.bz2
gentoo-bcd3cdecc66f0c991a4069aa00476bd9de5ae978.zip
apache-2.eclass: don't perform numeric comparison on EAPI
All EAPIs before EAPI 6 are banned at the top of the eclass, so just check for EAPI != 6 before calling lua-single_pkg_setup. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass')
-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 0177b5987d44..1d32ac4419e8 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -461,7 +461,7 @@ apache-2_pkg_setup() {
elog
fi
- if [[ "${EAPI}" -ge 7 ]] && use apache2_modules_lua ; then
+ if [[ ${EAPI} != 6 ]] && use apache2_modules_lua ; then
lua-single_pkg_setup
fi
}