summaryrefslogtreecommitdiffstats
path: root/databases/phppgadmin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/phppgadmin/Makefile')
-rw-r--r--databases/phppgadmin/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/phppgadmin/Makefile b/databases/phppgadmin/Makefile
index 8c4718a..fbf1167 100644
--- a/databases/phppgadmin/Makefile
+++ b/databases/phppgadmin/Makefile
@@ -15,7 +15,11 @@ DISTNAME= phpPgAdmin_${PORTVERSION:S/./-/g}
MAINTAINER= nbm@FreeBSD.org
.if !defined(WITH_PHP3)
+if defined(WITH_APACHE2)
+RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
+.else
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+.endif
.else
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3
.endif
OpenPOWER on IntegriCloud