Re: www/apache24: ports like lang/php5 or devel/subversion are disturbed by the apache24 port!

From: Alex Dupre <ale_at_FreeBSD.org>
Date: Thu, 04 Apr 2013 17:17:05 +0200
Olli Hauer ha scritto:
> It will take a while until php is really apache24 ready.
> 
> Work is in progress on php upstream.
> 
> One of the issues is that APXS does not provide the
> MPM model which is needed for php and others to build.

Can you try the following patch, please?

Index: bsd.php.mk
===================================================================
--- bsd.php.mk   (revision 315696)
+++ bsd.php.mk   (working copy)
_at__at_ -60,9 +60,8 _at__at_

 HTTPD?=         ${LOCALBASE}/sbin/httpd
 .if exists(${HTTPD})
-APXS?=          ${LOCALBASE}/sbin/apxs
-APACHE_MPM!=    ${APXS} -q MPM_NAME
-.       if ${APACHE_MPM} == "worker" || ${APACHE_MPM} == "event"
+APACHE_THR!=    ${HTTPD} -V | ${GREP} threaded
+.       if ${APACHE_THR:Myes}
 PHP_EXT_DIR:=   ${PHP_EXT_DIR}-zts
 .       endif
 .elif defined(APACHE_PORT) && (${APACHE_PORT:M*worker*} != "" ||
${APACHE_PORT:M*event*} != "")


-- 
Alex Dupre
Received on Thu Apr 04 2013 - 13:23:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:36 UTC