From 79265278f42ed3ef37f80e6b8bdce2b3401ef908 Mon Sep 17 00:00:00 2001 From: nbm Date: Thu, 9 Jan 2003 14:39:14 +0000 Subject: Make phppgadmin play nice with apache2 PR: 43225 Submitted by: Jason Li --- databases/phppgadmin/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit