diff options
author | ale <ale@FreeBSD.org> | 2013-05-27 20:32:13 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2013-05-27 20:32:13 +0800 |
commit | ea4ff4c74bfcef23105d036b63f70f12605ba82d (patch) | |
tree | 6a73ce44624792c7611a54676a50f092746c5fcd /Mk | |
parent | 8a7212637633492b2290c0c46fc95199206fb860 (diff) | |
download | freebsd-ports-gnome-ea4ff4c74bfcef23105d036b63f70f12605ba82d.tar.gz freebsd-ports-gnome-ea4ff4c74bfcef23105d036b63f70f12605ba82d.tar.zst freebsd-ports-gnome-ea4ff4c74bfcef23105d036b63f70f12605ba82d.zip |
Rework check for threaded apache, in order to support apache 2.4.
Diffstat (limited to '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*} != "") |