aboutsummaryrefslogtreecommitdiffstats
path: root/www/rt3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/rt3/Makefile')
-rw-r--r--www/rt3/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/rt3/Makefile b/www/rt3/Makefile
index ed1711b60f78..2908e9eb253b 100644
--- a/www/rt3/Makefile
+++ b/www/rt3/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