aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.php.mk
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2013-05-27 12:32:13 +0000
committerAlex Dupre <ale@FreeBSD.org>2013-05-27 12:32:13 +0000
commit0fefd0eba7e33ed150ae97ab26cf7194797ce8fc (patch)
tree6a73ce44624792c7611a54676a50f092746c5fcd /Mk/bsd.php.mk
parent9ef1891be9ba79d98b24b4488824916068984b44 (diff)
downloadports-0fefd0eba7e33ed150ae97ab26cf7194797ce8fc.tar.gz
ports-0fefd0eba7e33ed150ae97ab26cf7194797ce8fc.zip
Notes
Diffstat (limited to 'Mk/bsd.php.mk')
-rw-r--r--Mk/bsd.php.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/Mk/bsd.php.mk b/Mk/bsd.php.mk
index fc56542bec93..63eb9e8f23db 100644
--- a/Mk/bsd.php.mk
+++ b/Mk/bsd.php.mk
@@ -60,9 +60,8 @@ PHP_EXT_INC= pcre spl
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*} != "")