diff options
author | Alex Dupre <ale@FreeBSD.org> | 2013-05-27 12:32:13 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2013-05-27 12:32:13 +0000 |
commit | 0fefd0eba7e33ed150ae97ab26cf7194797ce8fc (patch) | |
tree | 6a73ce44624792c7611a54676a50f092746c5fcd /Mk/bsd.php.mk | |
parent | 9ef1891be9ba79d98b24b4488824916068984b44 (diff) | |
download | ports-0fefd0eba7e33ed150ae97ab26cf7194797ce8fc.tar.gz ports-0fefd0eba7e33ed150ae97ab26cf7194797ce8fc.zip |
Notes
Diffstat (limited to 'Mk/bsd.php.mk')
-rw-r--r-- | Mk/bsd.php.mk | 5 |
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*} != "") |