summaryrefslogtreecommitdiff
path: root/www/p5-Apache-DBI
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2003-06-20 08:17:55 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2003-06-20 08:17:55 +0000
commit2670811f5a5930bedf3cadd115f1b4d66cb46c04 (patch)
tree945b2fee022a3087a8bcf7253de089a340dee90e /www/p5-Apache-DBI
parentInclude these librarys needed by the mozilla sub-port directly (diff)
Add WITH_MODPERL2 knob to build whis port with mod_perl2.
PR: 53204 Submitted by: Tim Bishop <tim@bishnet.net> Maintainer timeout.
Notes
Notes: svn path=/head/; revision=83345
Diffstat (limited to 'www/p5-Apache-DBI')
-rw-r--r--www/p5-Apache-DBI/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/p5-Apache-DBI/Makefile b/www/p5-Apache-DBI/Makefile
index c9226c25b9fc..37a1f9683c3c 100644
--- a/www/p5-Apache-DBI/Makefile
+++ b/www/p5-Apache-DBI/Makefile
@@ -15,8 +15,12 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= DBI persistent connection, authentication and authorization
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \
- ${SITE_PERL}/${PERL_ARCH}/Bundle/DBI.pm:${PORTSDIR}/databases/p5-DBI
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Bundle/DBI.pm:${PORTSDIR}/databases/p5-DBI
+.if defined(WITH_MODPERL2)
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
+.else
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
+.endif
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes