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 + +.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 +.include