aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2003-01-09 22:39:14 +0800
committernbm <nbm@FreeBSD.org>2003-01-09 22:39:14 +0800
commit79265278f42ed3ef37f80e6b8bdce2b3401ef908 (patch)
tree8eb186a9169bfea6f6f7fd020fb386f9c3f962ea /databases
parent5c58925bafbeacef7ef63c6306d08d9a65c371b5 (diff)
downloadfreebsd-ports-gnome-79265278f42ed3ef37f80e6b8bdce2b3401ef908.tar.gz
freebsd-ports-gnome-79265278f42ed3ef37f80e6b8bdce2b3401ef908.tar.zst
freebsd-ports-gnome-79265278f42ed3ef37f80e6b8bdce2b3401ef908.zip
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