summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2006-12-22 13:49:38 +0000
committergabor <gabor@FreeBSD.org>2006-12-22 13:49:38 +0000
commit5cfb1322ad12773981b71ec402b6b754be137c71 (patch)
tree4231279c16dbd115666c3ee72037eeedc7b7ea94 /www
parent62b8a40233729aa7d5ccef5614111705f539633b (diff)
downloadFreeBSD-ports-5cfb1322ad12773981b71ec402b6b754be137c71.zip
FreeBSD-ports-5cfb1322ad12773981b71ec402b6b754be137c71.tar.gz
- Fix dependencies
- Bump PORTREVISION PR: ports/103813 Submitted by: Scot Hetzel <swhetzel@gmail.com> (with fixes from maintainer) Approved by: erwin (mentor), Philip M. Gollucci <pgollucci@p6m7g8.com> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/p5-Apache-DBI/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/p5-Apache-DBI/Makefile b/www/p5-Apache-DBI/Makefile
index 4d8e05d..4f893f0 100644
--- a/www/p5-Apache-DBI/Makefile
+++ b/www/p5-Apache-DBI/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Apache-DBI
PORTVERSION= 1.05
+PORTREVISION= 1
CATEGORIES= www databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Apache
@@ -18,16 +19,17 @@ COMMENT= DBI persistent connection, authentication and authorization
MAN3= Apache::DBI.3 Apache::AuthDBI.3
PERL_CONFIGURE= yes
-USE_APACHE= yes
-
-.include <bsd.port.pre.mk>
.if defined(WITH_MODPERL2)
+USE_APACHE= 2.0+
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
+BUILD_DEPENDS+= ${RUN_DEPENDS}
.else
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
+BUILD_DEPENDS+= ${RUN_DEPENDS}
.endif
-BUILD_DEPENDS= ${RUN_DEPENDS}
+
+.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
OpenPOWER on IntegriCloud