Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 23:28:09 -0300 (BRT)
From:      Marcus Grando <marcus@corp.grupos.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/78223: [MAINTAINER] Update port: www/pecl-APC changes
Message-ID:  <20050301022809.3AF2420A22@corp.grupos.com.br>
Resent-Message-ID: <200503010230.j212UISf029709@freefall.freebsd.org>

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

>Number:         78223
>Category:       ports
>Synopsis:       [MAINTAINER] Update port: www/pecl-APC changes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 01 02:30:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Marcus Grando
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #42: Sun Feb 27 20:04:47 BRT 2005 root@corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386


	
>Description:
Update port: www/pecl-APC changes

* Broken with php5
* More OPTIONS

	
>How-To-Repeat:
	
>Fix:

	

--- pecl-APC.patch begins here ---
diff -ruN pecl-APC.old/Makefile pecl-APC/Makefile
--- pecl-APC.old/Makefile	Sat Feb 26 18:44:16 2005
+++ pecl-APC/Makefile	Mon Feb 28 23:20:56 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	APC
 PORTVERSION=	2.0.4
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
@@ -26,12 +27,23 @@
 
 CONFIGURE_ARGS=	--enable-apc
 
-OPTIONS=	MMAP	"Enable mmap"	off
+OPTIONS=	MMAP       "Enable mmap memory support (default: IPC shm)" off \
+		SEMAPHORES "Enable sysv IPC semaphores (default: fcntl())" off \
+
+.include <bsd.port.pre.mk>
+
+.if ${PHP_VER} == 5
+BROKEN=		This port is not compatible with php${PHP_VER}
+.endif
 
 .if !defined(WITHOUT_MMAP)
 CONFIGURE_ARGS+=	--enable-mmap
 .endif
 
+.if !defined(WITHOUT_SEMAPHORES)
+CONFIGURE_ARGS+=	--enable-sem
+.endif
+
 .if !defined(NOPORTDOCS)
 PORTDOCS=	*
 .endif
@@ -45,4 +57,4 @@
 .endif
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- pecl-APC.patch ends here ---


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



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