aboutsummaryrefslogtreecommitdiff
path: root/www/rt34
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2003-08-25 06:51:56 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2003-08-25 06:51:56 +0000
commitab3f8892f2b37777716a986cb8ad89263d396931 (patch)
tree00e604ba143e95b680660f1ee67e00450a844091 /www/rt34
parent46eff70a206420a5c8664445323695f55076066b (diff)
downloadports-ab3f8892f2b37777716a986cb8ad89263d396931.tar.gz
ports-ab3f8892f2b37777716a986cb8ad89263d396931.zip
Notes
Diffstat (limited to 'www/rt34')
-rw-r--r--www/rt34/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/rt34/Makefile b/www/rt34/Makefile
index ed1711b60f78..2908e9eb253b 100644
--- a/www/rt34/Makefile
+++ b/www/rt34/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