From 9b454c1ec1bf16f321090074445a3da40790e640 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Tue, 1 Mar 2005 07:30:34 +0000 Subject: * Broken with php5 * More OPTIONS PR: ports/78223 Submitted by: maintainer --- www/pecl-APC-devel/Makefile | 16 ++++++++++++++-- www/pecl-APC/Makefile | 16 ++++++++++++++-- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/www/pecl-APC-devel/Makefile b/www/pecl-APC-devel/Makefile index d5a941593032..6db97265a31e 100644 --- a/www/pecl-APC-devel/Makefile +++ b/www/pecl-APC-devel/Makefile @@ -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 @@ PKGMESSAGE= ${WRKDIR}/pkg-message 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 + +.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 @@ post-install: .endif @${CAT} ${PKGMESSAGE} -.include +.include diff --git a/www/pecl-APC/Makefile b/www/pecl-APC/Makefile index d5a941593032..6db97265a31e 100644 --- a/www/pecl-APC/Makefile +++ b/www/pecl-APC/Makefile @@ -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 @@ PKGMESSAGE= ${WRKDIR}/pkg-message 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 + +.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 @@ post-install: .endif @${CAT} ${PKGMESSAGE} -.include +.include -- cgit v1.2.3