From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 23 02:00:06 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A20A31065673 for ; Thu, 23 Sep 2010 02:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7A9788FC0A for ; Thu, 23 Sep 2010 02:00:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8N2062q002859 for ; Thu, 23 Sep 2010 02:00:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8N206KP002850; Thu, 23 Sep 2010 02:00:06 GMT (envelope-from gnats) Resent-Date: Thu, 23 Sep 2010 02:00:06 GMT Resent-Message-Id: <201009230200.o8N206KP002850@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Karl Latiss Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE59E1065670 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/150872: Change in defaults for pecl-APC X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 02:00:06 -0000 >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 -.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: