patch adds ZTS (zend-thread-safety) option, for assisting in developing PHP extensions. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer (via the GNATS Auto Assign Tool)
Author: ale Date: Mon Aug 12 12:54:12 2013 New Revision: 324626 URL: http://svnweb.freebsd.org/changeset/ports/324626 Log: Add an OPTION to force ZTS build. PR: ports/180125 Submitted by: r4721@tormail.org Modified: head/lang/php5/Makefile Modified: head/lang/php5/Makefile ============================================================================== --- head/lang/php5/Makefile Mon Aug 12 12:45:24 2013 (r324625) +++ head/lang/php5/Makefile Mon Aug 12 12:54:12 2013 (r324626) @@ -38,7 +38,7 @@ CONFIGURE_ARGS= \ USE_GNOME= libxml2 -OPTIONS_DEFINE= CLI CGI FPM APACHE AP2FILTER EMBED DEBUG DTRACE IPV6 MAILHEAD LINKTHR +OPTIONS_DEFINE= CLI CGI FPM APACHE AP2FILTER EMBED DEBUG DTRACE IPV6 MAILHEAD LINKTHR ZTS OPTIONS_DEFAULT=CLI CGI IPV6 LINKTHR CLI_DESC= Build CLI version @@ -52,6 +52,7 @@ DTRACE_DESC= Enable DTrace support IPV6_DESC= Enable ipv6 support MAILHEAD_DESC= Enable mail header patch LINKTHR_DESC= Link thread lib (for threaded extensions) +ZTS_DESC= Force Zend Thread Safety (ZTS) build CONFLICTS= php52-5* php53-5* php55-5* @@ -150,6 +151,10 @@ CONFIGURE_ENV+= ac_cv_pthreads_lib="" \ CONFIGURE_ENV+= LIBS="${LIBS} ${PTHREAD_LIBS}" .endif +.if ${PORT_OPTIONS:MZTS} +CONFIGURE_ARGS+=--enable-maintainer-zts +.endif + .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug .endif _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!