commit:     97e974ddb111f13683bdcfd4cf9d1a4297e82e9d
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 15 19:03:51 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Jul 15 19:04:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e974dd

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 20e93f3b3da..78a7c5ce474 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
 }

Reply via email to