ports/132992: [PATCH] www/pecl-APC: Add spinlocks support
Gea-Suan Lin
gslin at gslin.org
Tue Mar 24 06:50:02 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list