aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
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
parentedd4a8148f2e67ffa8a8c97fda8339f91c26d78d (diff)
downloadfreebsd-ports-graphics-c0cbd5ee974bbc7e41cb0b96b4c7278ddd718633.tar.gz
freebsd-ports-graphics-c0cbd5ee974bbc7e41cb0b96b4c7278ddd718633.tar.zst
freebsd-ports-graphics-c0cbd5ee974bbc7e41cb0b96b4c7278ddd718633.zip
- fix detection of threaded httpd
Approved by: mat@
Diffstat (limited to 'Mk')
-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 68625e4f489..93761949818 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