diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2003-08-25 06:51:56 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2003-08-25 06:51:56 +0000 |
commit | ab3f8892f2b37777716a986cb8ad89263d396931 (patch) | |
tree | 00e604ba143e95b680660f1ee67e00450a844091 | |
parent | Fix build with gettext-0.12.1. (diff) |
Correct dependencies when building with FastCGI and Apache2.
Submitted by: Rob Austein <sra@hactrn.net> via maintainer.
-rw-r--r-- | www/rt3/Makefile | 9 | ||||
-rw-r--r-- | www/rt32/Makefile | 9 | ||||
-rw-r--r-- | www/rt34/Makefile | 9 | ||||
-rw-r--r-- | www/rt36/Makefile | 9 |
4 files changed, 28 insertions, 8 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 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 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 diff --git a/www/rt36/Makefile b/www/rt36/Makefile index ed1711b60f78..2908e9eb253b 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 |