apache-2.eclass: Attempt to fix an issue with apache-2.2

This commit is contained in:
Lars Wendler
2017-07-15 21:03:51 +02:00
parent 349ec46ce5
commit 97e974ddb1

View 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
}