When the USE flag "threads" is set, then the apache2 is always compiled with "worker" as MPM. "threads" influences various packages including perl, so some might want to use a compiled version of perl but "prefork" as MPM with apache2. It would be great, if the ebuild always respects the environment variable "MPM", if it is set. Then you may set "MPM" in /etc/make.conf and be sure that "prefork" is used.
To achive this behavious, I have added a small patch. Please apply it to the ebuild of apache2.
Steps to Reproduce:
Created attachment 41018 [details, diff]
A patch to make the apache2 ebuild always use the environment variable "MPM" if
it is set.
This is fixed in the Apache Herd's External Overlay.
We added local use flags for each MPM.
Marking this as LATER since it will be fixed when the overlay is merged.
Long since finxed, closing.