diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-12-15 18:31:09 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-12-15 18:31:09 +0000 |
commit | 2312d363a4cbcd787c8d8e95138aa26110b0fdd9 (patch) | |
tree | b3e09b60d147c62b3b0864ee7caee49eee7407d1 /www/pecl-APC-devel | |
parent | 46bfb6ecb948e13ba5e373d4c723cd6821a203e9 (diff) |
Notes
Diffstat (limited to 'www/pecl-APC-devel')
-rw-r--r-- | www/pecl-APC-devel/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/pecl-APC-devel/Makefile b/www/pecl-APC-devel/Makefile index c20e57522845..6101cae14856 100644 --- a/www/pecl-APC-devel/Makefile +++ b/www/pecl-APC-devel/Makefile @@ -42,7 +42,8 @@ CONFIGURE_ARGS+= --enable-apc-mmap CONFIGURE_ARGS+= --enable-apc-sem .endif -.if defined(WITH_PHP4_OPT) && ${PHP_VER} == 4 +.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) @@ -53,13 +54,14 @@ CFLAGS+= -I${LOCALBASE}/include/apache21 -DAPC_PHP4_STAT CFLAGS+= -I${LOCALBASE}/include/apache22 -DAPC_PHP4_STAT .endif .else -pre-extract: +pre-configure: @${ECHO_CMD} @${ECHO_CMD} "*** WARNING ***" @${ECHO_CMD} "This optimization is only for PHP4. PHP5 or newer does not need it" @${ECHO_CMD} "I will continue instalation..." @${ECHO_CMD} .endif +.endif post-install: .if !defined(NOPORTDOCS) |