aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2003-06-20 16:17:55 +0800
committerdemon <demon@FreeBSD.org>2003-06-20 16:17:55 +0800
commit8d2e99f332dfdf7b173f34374dcae48491379f7a (patch)
tree3ba67a3b187da7600a6876282dc8885a08519edc
parent1bb6be3332262590685fdfd4b32fd4c04d7d587a (diff)
downloadfreebsd-ports-gnome-8d2e99f332dfdf7b173f34374dcae48491379f7a.tar.gz
freebsd-ports-gnome-8d2e99f332dfdf7b173f34374dcae48491379f7a.tar.zst
freebsd-ports-gnome-8d2e99f332dfdf7b173f34374dcae48491379f7a.zip
Add WITH_MODPERL2 knob to build whis port with mod_perl2.
PR: 53204 Submitted by: Tim Bishop <tim@bishnet.net> Maintainer timeout.
-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