--- apache-2.4.6.ebuild.orig 2013-07-22 05:57:12.000000000 +0200 +++ apache-2.4.6.ebuild 2013-07-22 18:19:22.000000000 +0200 @@ -10,7 +10,7 @@ GENTOO_PATCHNAME="gentoo-apache-2.4.4" # IUSE/USE_EXPAND magic -IUSE_MPMS_FORK="itk peruser prefork" +IUSE_MPMS_FORK="peruser prefork" IUSE_MPMS_THREAD="event worker" # << obsolete modules: @@ -144,6 +144,10 @@ || die "epatch failed" cd "${S}" || die "Failed to cd to ${S}" fi + + # mpm_itk patch + epatch "${FILESDIR}"/apache-2.4.6-r1498880-open_htaccess_hook.patch || die "epatch failed" + apache-2_src_prepare sed -i -e 's/! test -f/test -f/' "${GENTOO_PATCHDIR}"/init/apache2.initd || die "Failed to fix init script" }