www/apache24: ports like lang/php5 or devel/subversion are disturbed by the apache24 port!
Alex Dupre
ale at FreeBSD.org
Thu Apr 4 15:23:49 UTC 2013
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)
@@ -60,9 +60,8 @@
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
More information about the freebsd-ports
mailing list