summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-10-01 15:50:22 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-10-01 16:07:33 +0200
commit1d4bc2b25535cfa51a98dec292f6235ee7190256 (patch)
tree2211cefe06b6712e542549b9ab12a11a0066eb74 /eclass/apache-2.eclass
parentsys-kernel/gentoo-sources: Linux patch 4.14.200 and update to genpatches (diff)
downloadgentoo-1d4bc2b25535cfa51a98dec292f6235ee7190256.tar.gz
gentoo-1d4bc2b25535cfa51a98dec292f6235ee7190256.tar.bz2
gentoo-1d4bc2b25535cfa51a98dec292f6235ee7190256.zip
apache-2.eclass: Drop apache-2.2 specific code
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'eclass/apache-2.eclass')
-rw-r--r--eclass/apache-2.eclass8
1 files changed, 1 insertions, 7 deletions
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index 886161758a32..ff6ed9eafb11 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -28,10 +28,6 @@ case $(ver_cut 1-2) in
CDEPEND=">=dev-libs/apr-1.5.1:=
!www-apache/mod_macro" #492578 #477702
;;
- 2.2)
- DEFAULT_MPM_THREADED="worker"
- CDEPEND=">=dev-libs/apr-1.4.5:=" #368651
- ;;
*)
die "Unknown MAJOR.MINOR apache version."
;;
@@ -120,9 +116,7 @@ _apache2_set_mpms() {
REQUIRED_USE+=" )"
done
- if [[ "$(ver_cut 1-2)" != 2.2 ]] ; then
- REQUIRED_USE+=" apache2_mpms_prefork? ( !apache2_modules_http2 )"
- fi
+ REQUIRED_USE+=" apache2_mpms_prefork? ( !apache2_modules_http2 )"
}
_apache2_set_mpms
unset -f _apache2_set_mpms