summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2003-01-09 14:39:14 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2003-01-09 14:39:14 +0000
commit262d54a9a20f54c52c19c82222f6105bc64e1556 (patch)
tree946aee3fd9c7fad6b49a83f192b3f119d856fd3f /databases
parent1) Upgrade phpmyadmin to 2.3.2 (diff)
Make phppgadmin play nice with apache2
PR: 43225 Submitted by: Jason Li <delphij@frontfree.net>
Diffstat (limited to 'databases')
-rw-r--r--databases/phppgadmin/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/phppgadmin/Makefile b/databases/phppgadmin/Makefile
index 8c4718ab0f6b..fbf11676bfb7 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