ports/179565: [MAINTAINER] devel/pecl-pthreads: [SUMMARIZE CHANGES]

John Chen johnpupu at gmail.com
Sat Jun 15 05:30:00 UTC 2013


>Number:         179565
>Category:       ports
>Synopsis:       [MAINTAINER] devel/pecl-pthreads: [SUMMARIZE CHANGES]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 15 05:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     John Chen
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
Watcher
>Environment:
System: FreeBSD www.johnpupu.tw 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10
>Description:
Fix PHP Thread-Safe problem.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:

--- pecl-pthreads-0.0.44_1.patch begins here ---
diff -ruN --exclude=CVS ../pecl-pthreads.orig/Makefile ./Makefile
--- ../pecl-pthreads.orig/Makefile	2013-06-10 01:30:33.000000000 +0800
+++ ./Makefile	2013-06-15 13:14:52.000000000 +0800
@@ -3,6 +3,7 @@
 
 PORTNAME=	pthreads
 PORTVERSION=	0.0.44
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
@@ -21,4 +22,10 @@
 PHP_MODNAME=	pthreads
 IGNORE_WITH_PHP=	52
 
+pre-extract:
+	@if [ ! -d '${LOCALBASE}/lib/php/20090626-zts' ] && [ ! -d '${LOCALBASE}/lib/php/20090626-zts-debug' ] && [ ! -d '${LOCALBASE}/lib/php/20100525-zts' ] && [ ! -d '${LOCALBASE}/lib/php/20100525-zts-debug' ] ; then \
+		${ECHO_MSG} 'pthreads requires ZTS, please re-compile PHP with ZTS enabled'; \
+		exit 1; \
+	fi
+
 .include <bsd.port.mk>
--- pecl-pthreads-0.0.44_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list