From 97e974ddb111f13683bdcfd4cf9d1a4297e82e9d Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Sat, 15 Jul 2017 21:03:51 +0200 Subject: [PATCH] apache-2.eclass: Attempt to fix an issue with apache-2.2 --- 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 20e93f3b3dacd..78a7c5ce474d3 100644 --- a/eclass/apache-2.eclass +++ b/eclass/apache-2.eclass @@ -172,7 +172,7 @@ setup_mpm() { die "invalid use flag combination" fi - if [[ "${MY_MPM}" = *prefork* ]] && use apache2_modules_http2 ; then + if [[ "${PV}" != 2.2* ]] && [[ "${MY_MPM}" = *prefork* ]] && use apache2_modules_http2 ; then die "http2 does not work with prefork MPM." fi }