summaryrefslogtreecommitdiffstats
path: root/www/pecl-APC-devel
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2005-03-01 07:30:34 +0000
committervanilla <vanilla@FreeBSD.org>2005-03-01 07:30:34 +0000
commite2d940da251a58c724ef4020784a9635ec030e57 (patch)
treeaddf54021bd849ebc11851dd9d043af8e5e466a5 /www/pecl-APC-devel
parent7049c21a4e8f9c76a9da615d736baed93e24e7d2 (diff)
downloadFreeBSD-ports-e2d940da251a58c724ef4020784a9635ec030e57.zip
FreeBSD-ports-e2d940da251a58c724ef4020784a9635ec030e57.tar.gz
* Broken with php5
* More OPTIONS PR: ports/78223 Submitted by: maintainer
Diffstat (limited to 'www/pecl-APC-devel')
-rw-r--r--www/pecl-APC-devel/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/www/pecl-APC-devel/Makefile b/www/pecl-APC-devel/Makefile
index d5a9415..6db9726 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 <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 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud