aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2016-06-24 02:46:00 +0800
committerohauer <ohauer@FreeBSD.org>2016-06-24 02:46:00 +0800
commitc0cbd5ee974bbc7e41cb0b96b4c7278ddd718633 (patch)
treeb32c3157fcc3d43efdf69b75cf2c58abfd2544a8 /Mk/Uses
parentedd4a8148f2e67ffa8a8c97fda8339f91c26d78d (diff)
downloadfreebsd-ports-gnome-c0cbd5ee974bbc7e41cb0b96b4c7278ddd718633.tar.gz
freebsd-ports-gnome-c0cbd5ee974bbc7e41cb0b96b4c7278ddd718633.tar.zst
freebsd-ports-gnome-c0cbd5ee974bbc7e41cb0b96b4c7278ddd718633.zip
- fix detection of threaded httpd
Approved by: mat@
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/php.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk
index 68625e4f489f..937619498182 100644
--- a/Mk/Uses/php.mk
+++ b/Mk/Uses/php.mk
@@ -72,7 +72,7 @@ PHP_EXT_INC= pcre spl
HTTPD?= ${LOCALBASE}/sbin/httpd
. if exists(${HTTPD})
-APACHE_THR!= ${HTTPD} -V | ${GREP} threaded
+APACHE_THR!= ${HTTPD} -V | ${AWK} '/threaded/ {print $2}'
. if ${APACHE_THR:Myes}
PHP_EXT_DIR:= ${PHP_EXT_DIR}-zts
. endif