1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

- Update to 3.0.2

PR:		ports/83069
Submitted by:	maintainer
This commit is contained in:
Pav Lucistnik 2005-07-06 18:25:55 +00:00
parent 5b19c4c93d
commit 0a39e9f6ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138619
4 changed files with 36 additions and 22 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= APC
PORTVERSION= 2.0.4
PORTREVISION= 1
PORTVERSION= 3.0.2
CATEGORIES= www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@ -18,7 +17,6 @@ MAINTAINER= marcus@corp.grupos.com.br
COMMENT= Alternative PHP Cache
USE_PHP= yes
USE_PHPIZE= yes
USE_PHPEXT= yes
PHP_MODNAME= apc
@ -29,19 +27,28 @@ CONFIGURE_ARGS= --enable-apc
OPTIONS= MMAP "Enable mmap memory support (default: IPC shm)" off \
SEMAPHORES "Enable sysv IPC semaphores (default: fcntl())" off \
PHP4_OPT "Little optimization for PHP4" off
.include <bsd.port.pre.mk>
.if ${PHP_VER} == 5
BROKEN= This port is not compatible with php${PHP_VER}
.if defined(WITH_MMAP)
CONFIGURE_ARGS+= --enable-apc-mmap
.endif
.if !defined(WITHOUT_MMAP)
CONFIGURE_ARGS+= --enable-mmap
.if defined(WITH_SEMAPHORES)
CONFIGURE_ARGS+= --enable-apc-sem
.endif
.if !defined(WITHOUT_SEMAPHORES)
CONFIGURE_ARGS+= --enable-sem
.if defined(WITH_PHP4_OPT)
.if ${PHP_VER} == 4
.if exists(${LOCALBASE}/include/apache/httpd.h)
CFLAGS+= -I${LOCALBASE}/include/apache -DAPC_PHP4_STAT
.elif exists(${LOCALBASE}/include/apache2/httpd.h)
CFLAGS+= -I${LOCALBASE}/include/apache -DAPC_PHP4_STAT
.endif
.else
IGNORE= This optimization is only for PHP4. PHP5 or newer does not need it
.endif
.endif
.if !defined(NOPORTDOCS)

View File

@ -1,2 +1,2 @@
MD5 (PECL/APC-2.0.4.tgz) = 4962f05bc752e3cfa1f662bbdfa33605
SIZE (PECL/APC-2.0.4.tgz) = 44606
MD5 (PECL/APC-3.0.2.tgz) = 4e0edfd5bc4f85dcfc4f0f02477ed2f1
SIZE (PECL/APC-3.0.2.tgz) = 61556

View File

@ -6,8 +6,7 @@
#
PORTNAME= APC
PORTVERSION= 2.0.4
PORTREVISION= 1
PORTVERSION= 3.0.2
CATEGORIES= www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@ -18,7 +17,6 @@ MAINTAINER= marcus@corp.grupos.com.br
COMMENT= Alternative PHP Cache
USE_PHP= yes
USE_PHPIZE= yes
USE_PHPEXT= yes
PHP_MODNAME= apc
@ -29,19 +27,28 @@ CONFIGURE_ARGS= --enable-apc
OPTIONS= MMAP "Enable mmap memory support (default: IPC shm)" off \
SEMAPHORES "Enable sysv IPC semaphores (default: fcntl())" off \
PHP4_OPT "Little optimization for PHP4" off
.include <bsd.port.pre.mk>
.if ${PHP_VER} == 5
BROKEN= This port is not compatible with php${PHP_VER}
.if defined(WITH_MMAP)
CONFIGURE_ARGS+= --enable-apc-mmap
.endif
.if !defined(WITHOUT_MMAP)
CONFIGURE_ARGS+= --enable-mmap
.if defined(WITH_SEMAPHORES)
CONFIGURE_ARGS+= --enable-apc-sem
.endif
.if !defined(WITHOUT_SEMAPHORES)
CONFIGURE_ARGS+= --enable-sem
.if defined(WITH_PHP4_OPT)
.if ${PHP_VER} == 4
.if exists(${LOCALBASE}/include/apache/httpd.h)
CFLAGS+= -I${LOCALBASE}/include/apache -DAPC_PHP4_STAT
.elif exists(${LOCALBASE}/include/apache2/httpd.h)
CFLAGS+= -I${LOCALBASE}/include/apache -DAPC_PHP4_STAT
.endif
.else
IGNORE= This optimization is only for PHP4. PHP5 or newer does not need it
.endif
.endif
.if !defined(NOPORTDOCS)

View File

@ -1,2 +1,2 @@
MD5 (PECL/APC-2.0.4.tgz) = 4962f05bc752e3cfa1f662bbdfa33605
SIZE (PECL/APC-2.0.4.tgz) = 44606
MD5 (PECL/APC-3.0.2.tgz) = 4e0edfd5bc4f85dcfc4f0f02477ed2f1
SIZE (PECL/APC-3.0.2.tgz) = 61556