I had used the attached patch to Apache for get it running in the prefixed portage. From the look of it, the apache webserver can be started by calling the executable ($EPREFIX/usr/sbin/apache2) directly. Runscript however seems not to work, so `$EPREFIX/etc/init.d/apache2 start` does not work. use flags: mpm-prefork ssl -debug -doc -ldap -mpm-event -mpm-itk -mpm-peruser -mpm-worker -no-suexec -selinux -static-modules -threads objective: `emerge mapserver` test system: x86-macos
Created attachment 133360 [details, diff] The patch to the ebuild For the ebuild to work, a patch file is required in the FILES_DIR which will be attached separately.
Created attachment 133362 [details, diff] Linker command modification The patch corrects another Gentoo patch to apache-2.2.6 by converting the GNU Linker flag `-z now` into the Darwin linker flag `-bind_at_load`.
gentoo-apache-2.2.6-r3/patches/03_all_gentoo-apache-tools.patch injects the bindnow flags.
same remarks for this ebuild as for apache-tools
Thanks, in the tree now.