Date: Thu, 04 Apr 2013 17:17:05 +0200 From: Alex Dupre <ale@FreeBSD.org> To: Olli Hauer <ohauer@FreeBSD.org>, "O. Hartmann" <ohartman@zedat.fu-berlin.de> Cc: FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD ports <freebsd-ports@freebsd.org> Subject: Re: www/apache24: ports like lang/php5 or devel/subversion are disturbed by the apache24 port! Message-ID: <515D9971.40203@FreeBSD.org> In-Reply-To: <515875C8.1080201@FreeBSD.org> References: <1364750502.1715.34.camel@thor.walstatt.dyndns.org> <515875C8.1080201@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?515D9971.40203>
