ports/78223: [MAINTAINER] Update port: www/pecl-APC changes
Marcus Grando
marcus at corp.grupos.com.br
Tue Mar 1 02:30:20 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list