Bug 180125 - [patch] add ZTS option to lang/php5
Summary: [patch] add ZTS option to lang/php5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-30 16:30 UTC by r4721@tormail.org
Modified: 2013-08-12 14:00 UTC (History)
0 users

See Also:


Attachments
file.diff (925 bytes, patch)
2013-06-30 16:30 UTC, r4721@tormail.org
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description r4721@tormail.org 2013-06-30 16:30:00 UTC
patch adds ZTS (zend-thread-safety) option, for assisting in developing PHP extensions.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-30 16:30:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-08-12 13:54:18 UTC
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"
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2013-08-12 13:55:20 UTC
State Changed
From-To: open->closed

Committed, thanks!