apache-2.eclass: Attempt to fix an issue with apache-2.2
authorLars Wendler <polynomial-c@gentoo.org>
Sat, 15 Jul 2017 19:03:51 +0000 (21:03 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Sat, 15 Jul 2017 19:04:41 +0000 (21:04 +0200)
eclass/apache-2.eclass

index 20e93f3b3dacd9bd57220d7f4ca9fc02ebdeb884..78a7c5ce474d3bbc832920f131e62d195a3d0552 100644 (file)
@@ -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
 }