summaryrefslogtreecommitdiff
path: root/www/rt32
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/rt32
parentFix build with gettext-0.12.1. (diff)
Correct dependencies when building with FastCGI and Apache2.
Submitted by: Rob Austein <sra@hactrn.net> via maintainer.
Notes
Notes: svn path=/head/; revision=87648
Diffstat (limited to 'www/rt32')
-rw-r--r--www/rt32/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/rt32/Makefile b/www/rt32/Makefile
index ed1711b60f78..2908e9eb253b 100644
--- a/www/rt32/Makefile
+++ b/www/rt32/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