aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/phpwiki/Makefile6
-rw-r--r--www/phpwiki13/Makefile6
2 files changed, 4 insertions, 8 deletions
diff --git a/www/phpwiki/Makefile b/www/phpwiki/Makefile
index 14a1265c2493..09d36810b1c4 100644
--- a/www/phpwiki/Makefile
+++ b/www/phpwiki/Makefile
@@ -14,10 +14,8 @@ MASTER_SITE_SUBDIR= phpwiki
MAINTAINER= dinoex@FreeBSD.org
COMMENT= A PHP WikiWikiWeb
-.if defined(WITH_APACHE2)
-RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/${PHP4_PORT}
-.else
-RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/${PHP4_PORT}
+.if !defined(WITHOUT_PHP_DEPENDS)
+USE_PHP= ctype pcre posix session tokenizer xml zlib
.endif
NO_BUILD= YES
diff --git a/www/phpwiki13/Makefile b/www/phpwiki13/Makefile
index 14a1265c2493..09d36810b1c4 100644
--- a/www/phpwiki13/Makefile
+++ b/www/phpwiki13/Makefile
@@ -14,10 +14,8 @@ MASTER_SITE_SUBDIR= phpwiki
MAINTAINER= dinoex@FreeBSD.org
COMMENT= A PHP WikiWikiWeb
-.if defined(WITH_APACHE2)
-RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/${PHP4_PORT}
-.else
-RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/${PHP4_PORT}
+.if !defined(WITHOUT_PHP_DEPENDS)
+USE_PHP= ctype pcre posix session tokenizer xml zlib
.endif
NO_BUILD= YES