aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/phpwiki/Makefile4
-rw-r--r--www/phpwiki13/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/www/phpwiki/Makefile b/www/phpwiki/Makefile
index afd7018b51b1..14a1265c2493 100644
--- a/www/phpwiki/Makefile
+++ b/www/phpwiki/Makefile
@@ -14,7 +14,11 @@ 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}
+.endif
NO_BUILD= YES
PHP4_PORT?= www/mod_php4
diff --git a/www/phpwiki13/Makefile b/www/phpwiki13/Makefile
index afd7018b51b1..14a1265c2493 100644
--- a/www/phpwiki13/Makefile
+++ b/www/phpwiki13/Makefile
@@ -14,7 +14,11 @@ 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}
+.endif
NO_BUILD= YES
PHP4_PORT?= www/mod_php4