Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2016 18:46:00 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417396 - head/Mk/Uses
Message-ID:  <201606231846.u5NIk0Ca086771@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606231846.u5NIk0Ca086771>