From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 18 16:40:01 2009 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 3C271106567C for ; Mon, 18 May 2009 16:40:01 +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 172418FC26 for ; Mon, 18 May 2009 16:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4IGe0X3029231 for ; Mon, 18 May 2009 16:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4IGe03m029230; Mon, 18 May 2009 16:40:00 GMT (envelope-from gnats) Resent-Date: Mon, 18 May 2009 16:40:00 GMT Resent-Message-Id: <200905181640.n4IGe03m029230@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, Till Klampaeckel Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 621121065670 for ; Mon, 18 May 2009 16:35:05 +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 3594E8FC0C for ; Mon, 18 May 2009 16:35:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n4IGZ5ep062634 for ; Mon, 18 May 2009 16:35:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n4IGZ4SH062633; Mon, 18 May 2009 16:35:04 GMT (envelope-from nobody) Message-Id: <200905181635.n4IGZ4SH062633@www.freebsd.org> Date: Mon, 18 May 2009 16:35:04 GMT From: Till Klampaeckel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/134656: Create www/pecl-APC-dev 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: Mon, 18 May 2009 16:40:02 -0000 >Number: 134656 >Category: ports >Synopsis: Create www/pecl-APC-dev >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: Mon May 18 16:40:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Till Klampaeckel >Release: n/a >Organization: n/a >Environment: >Description: APC "recently" released beta versions that break compat with PHP4 but add other features and improvements. They are still beta versions, but I was wondering if they could be rolled into their own port. >How-To-Repeat: >Fix: Obviously, make makesum in the new port dir. Here's the diff between old and new: Files pecl-APC/Makefile and pecl-APC-devel/Makefile differ Files pecl-APC/distinfo and pecl-APC-devel/distinfo differ Only in pecl-APC/files: patch-apc_sem.c Here's the patch to the Makefile: --- pecl-APC/Makefile 2009-03-24 23:18:42.000000000 -0500 +++ pecl-APC-devel/Makefile 2009-05-18 11:31:24.000000000 -0500 @@ -6,7 +6,7 @@ # PORTNAME= APC -DISTVERSION= 3.0.19 +DISTVERSION= 3.1.2 CATEGORIES= www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- @@ -26,10 +26,9 @@ PKGMESSAGE= ${WRKDIR}/pkg-message CONFIGURE_ARGS= --enable-apc OPTIONS= MMAP "Enable mmap memory support (default: IPC shm)" off \ - SEMAPHORES "Enable sysv IPC semaphores (default: fcntl())" 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 PORTDOCS= * @@ -51,26 +50,7 @@ CONFIGURE_ARGS+= --enable-apc-spinlocks CONFIGURE_ARGS+= --enable-apc-filehits .endif -.if defined(WITH_PHP4_OPT) -.if ${PHP_VER} == 4 -.if exists(${LOCALBASE}/include/apache/httpd.h) -CFLAGS+= -I${LOCALBASE}/include/apache -DAPC_PHP4_STAT -.elif exists(${LOCALBASE}/include/apache2/httpd.h) -CFLAGS+= -I${LOCALBASE}/include/apache2 -DAPC_PHP4_STAT -.elif exists(${LOCALBASE}/include/apache21/httpd.h) -CFLAGS+= -I${LOCALBASE}/include/apache21 -DAPC_PHP4_STAT -.elif exists(${LOCALBASE}/include/apache22/httpd.h) -CFLAGS+= -I${LOCALBASE}/include/apache22 -DAPC_PHP4_STAT -.endif -.else -pre-configure: - @${ECHO_CMD} - @${ECHO_CMD} "*** WARNING ***" - @${ECHO_CMD} "This optimization is only for PHP4. PHP5 or newer does not need it" - @${ECHO_CMD} "I will continue instalation..." - @${ECHO_CMD} -.endif -.endif +CONFLICTS= pecl-APC-3.0.* post-install: .if !defined(NOPORTDOCS) >Release-Note: >Audit-Trail: >Unformatted: