svn commit: r417396 - head/Mk/Uses
Olli Hauer
ohauer at FreeBSD.org
Thu Jun 23 18:46:01 UTC 2016
Author: ohauer
Date: Thu Jun 23 18:46:00 2016
New Revision: 417396
URL: https://svnweb.freebsd.org/changeset/ports/417396
Log:
- fix detection of threaded httpd
Approved by: mat@
Modified:
head/Mk/Uses/php.mk
Modified: head/Mk/Uses/php.mk
==============================================================================
--- head/Mk/Uses/php.mk Thu Jun 23 17:57:19 2016 (r417395)
+++ head/Mk/Uses/php.mk Thu Jun 23 18:46:00 2016 (r417396)
@@ -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
More information about the svn-ports-head
mailing list