summaryrefslogtreecommitdiffstats
path: root/www/rt36
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2003-08-25 06:51:56 +0000
committerdemon <demon@FreeBSD.org>2003-08-25 06:51:56 +0000
commit8dd05668fce91d0923e16b75cab457bc871509da (patch)
treeab1ebb9364e7e7d9a6868e1b281aa4d4b8e00069 /www/rt36
parente0c07041021de6089bd42a9260753b08eeaeb871 (diff)
downloadFreeBSD-ports-8dd05668fce91d0923e16b75cab457bc871509da.zip
FreeBSD-ports-8dd05668fce91d0923e16b75cab457bc871509da.tar.gz
Correct dependencies when building with FastCGI and Apache2.
Submitted by: Rob Austein <sra@hactrn.net> via maintainer.
Diffstat (limited to 'www/rt36')
-rw-r--r--www/rt36/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/rt36/Makefile b/www/rt36/Makefile
index ed1711b..2908e9e 100644
--- a/www/rt36/Makefile
+++ b/www/rt36/Makefile
@@ -69,9 +69,14 @@ CONFIGURE_ARGS= --prefix=${RT_PATH} \
--with-db-dba=${DB_DBA_USER}
.if defined(WITH_FASTCGI)
+.if defined(WITH_APACHE2)
+APACHE_PORT?= ${PORTSDIR}/www/apache2
+BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi
+.else
APACHE_PORT?= ${PORTSDIR}/www/apache13
-BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi \
- ${ARCH_PERL}/FCGI.pm:${PORTSDIR}/www/p5-FastCGI
+BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi
+.endif
+BUILD_DEPENDS+= ${ARCH_PERL}/FCGI.pm:${PORTSDIR}/www/p5-FastCGI
DEPENDS_ARGS+= WITHOUT_MODPERL=yes
.else
BUILD_DEPENDS+= ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI
OpenPOWER on IntegriCloud