Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2009 14:47:42 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mnag@FreeBSD.org, gslin@gslin.org
Subject:   ports/132992: [PATCH] www/pecl-APC: Add spinlocks support
Message-ID:  <20090324064742.E36C67E81D@colo-p.gslin.org>
Resent-Message-ID: <200903240650.n2O6o28g023277@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         132992
>Category:       ports
>Synopsis:       [PATCH] www/pecl-APC: Add spinlocks support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 24 06:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD gslin 7.1-STABLE FreeBSD 7.1-STABLE #0: Sat Jan 31 21:46:23 UTC 2009
>Description:
- Add spinlocks support.

Port maintainer (mnag@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- pecl-APC-3.0.19.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/pecl-APC/Makefile /home/staff/gslin/work/ports/pecl-APC/Makefile
--- /usr/ports/www/pecl-APC/Makefile	2009-03-24 14:47:11.000000000 +0800
+++ /home/staff/gslin/work/ports/pecl-APC/Makefile	2009-03-24 14:46:38.000000000 +0800
@@ -27,6 +27,7 @@
 
 OPTIONS=	MMAP		"Enable mmap memory support (default: IPC shm)"	off \
 		SEMAPHORES	"Enable sysv IPC semaphores (default: fcntl())"	off \
+		SPINLOCKS	"Enable spinlocks (experimental)"		off \
 		FILEHITS	"Enable per request cache info"			off \
 		PHP4_OPT	"Little optimization to PHP4"			off
 
@@ -42,6 +43,10 @@
 CONFIGURE_ARGS+=	--enable-apc-sem
 .endif
 
+.if defined(WITH_SPINLOCKS)
+CONFIGURE_ARGS+=	--enable-apc-spinlocks
+.endif
+
 .if defined(WITH_FILEHITS)
 CONFIGURE_ARGS+=	--enable-apc-filehits
 .endif
--- pecl-APC-3.0.19.patch ends here ---

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



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