- support USE_PHP

This commit is contained in:
Dirk Meyer 2004-07-28 19:46:59 +00:00
parent b3013326ca
commit ff37a169fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114962
2 changed files with 4 additions and 8 deletions

View file

@ -14,10 +14,8 @@ MASTER_SITE_SUBDIR= phpwiki
MAINTAINER= dinoex@FreeBSD.org MAINTAINER= dinoex@FreeBSD.org
COMMENT= A PHP WikiWikiWeb COMMENT= A PHP WikiWikiWeb
.if defined(WITH_APACHE2) .if !defined(WITHOUT_PHP_DEPENDS)
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/${PHP4_PORT} USE_PHP= ctype pcre posix session tokenizer xml zlib
.else
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/${PHP4_PORT}
.endif .endif
NO_BUILD= YES NO_BUILD= YES

View file

@ -14,10 +14,8 @@ MASTER_SITE_SUBDIR= phpwiki
MAINTAINER= dinoex@FreeBSD.org MAINTAINER= dinoex@FreeBSD.org
COMMENT= A PHP WikiWikiWeb COMMENT= A PHP WikiWikiWeb
.if defined(WITH_APACHE2) .if !defined(WITHOUT_PHP_DEPENDS)
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/${PHP4_PORT} USE_PHP= ctype pcre posix session tokenizer xml zlib
.else
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/${PHP4_PORT}
.endif .endif
NO_BUILD= YES NO_BUILD= YES