Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2010 02:00:00 GMT
From:      Karl Latiss <klatiss@nextdigital.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150872: Change in defaults for pecl-APC
Message-ID:  <201009230200.o8N200kP024840@www.freebsd.org>
Resent-Message-ID: <201009230200.o8N206KP002850@freefall.freebsd.org>

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

>Number:         150872
>Category:       ports
>Synopsis:       Change in defaults for pecl-APC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 23 02:00:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Karl Latiss
>Release:        7-0
>Organization:
Next Digital
>Environment:
FreeBSD fbsd-7-0-i386.build.corp.nextdigital.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
It appears pecl-APC defaults to mmap memory and not IPC shared memory as stated in the Makefile. The attached patch corrects this.
>How-To-Repeat:
Build standard pecl-APC port.
>Fix:
Attached patch.

Patch attached with submission follows:

--- /usr/ports/www/pecl-APC/Makefile.orig	2010-09-23 11:40:14.000000000 +1000
+++ /usr/ports/www/pecl-APC/Makefile	2010-09-22 18:04:43.000000000 +1000
@@ -27,7 +27,7 @@
 CONFIGURE_ARGS=	--enable-apc
 CFLAGS=		-I${LOCALBASE}/include
 
-OPTIONS=        MMAP            "Enable mmap memory support (default: IPC shm)" off \
+OPTIONS=	IPC		"Enable IPC shm memory support (default: mmap)"	off \
 		SEMAPHORES	"Enable sysv IPC semaphores (default: fcntl())"	off \
 		SPINLOCKS	"Enable spinlocks (experimental)"		off \
 		FILEHITS	"Enable per request cache info"			off
@@ -36,8 +36,8 @@
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_MMAP)
-CONFIGURE_ARGS+=	--ensable-apc-mmap
+.if defined(WITH_IPC)
+CONFIGURE_ARGS+=	--disable-apc-mmap
 .endif
 
 .if defined(WITH_SEMAPHORES)


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



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