From nobody@FreeBSD.org  Thu Sep 23 02:00:00 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id EE59E1065670
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 23 Sep 2010 02:00:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id DABBC8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 23 Sep 2010 02:00:00 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8N200qH024841
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 23 Sep 2010 02:00:00 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o8N200kP024840;
	Thu, 23 Sep 2010 02:00:00 GMT
	(envelope-from nobody)
Message-Id: <201009230200.o8N200kP024840@www.freebsd.org>
Date: Thu, 23 Sep 2010 02:00:00 GMT
From: Karl Latiss <klatiss@nextdigital.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Change in defaults for pecl-APC
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         150872
>Category:       ports
>Synopsis:       Change in defaults for www/pecl-APC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mnag
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 23 02:00:06 UTC 2010
>Closed-Date:    Thu Oct 07 16:57:47 UTC 2010
>Last-Modified:  Thu Oct  7 17:00:03 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->mnag 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Sep 23 02:29:42 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150872 
State-Changed-From-To: open->closed 
State-Changed-By: mnag 
State-Changed-When: Thu Oct 7 16:57:46 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150872 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/150872: commit references a PR
Date: Thu,  7 Oct 2010 16:57:21 +0000 (UTC)

 mnag        2010-10-07 16:57:17 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/pecl-APC         Makefile 
   Log:
   - Change defaults to reflect config.m4
   
   PR:             150872
   Submitted by:   Karl Latiss <klatiss___nextdigital.com>
   
   Revision  Changes    Path
   1.32      +3 -3      ports/www/pecl-APC/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
