>Description: The p5-Apache-DBI port only uses mod_perl (not mod_perl2). The website seems to suggest it will work with mod_perl2, just it's not been that extensively tested. I'm requesting this change because www/rt3 uses this port, and I'm running it on apache2 with mod_perl2. >How-To-Repeat: >Fix: This patch adds an option to build with mod-perl2. This doesn't change the current behaviour if there are no extra defines, so seems fairly safe to apply. --- p5-Apache-DBI-mp2.diff begins here --- diff -ruN p5-Apache-DBI.bak/Makefile p5-Apache-DBI/Makefile --- p5-Apache-DBI.bak/Makefile Mon Jun 9 22:43:46 2003 +++ p5-Apache-DBI/Makefile Tue Jun 10 20:39:27 2003 @@ -15,8 +15,14 @@ MAINTAINER= skv at FreeBSD.org COMMENT= DBI persistent connection, authentication and authorizati +on -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}/d +atabases/p5-DBI + +.if defined(WITH_MODPERL2) +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/w +ww/mod_perl2 +.else +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/ww +w/mod_perl +.endif + BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes --- p5-Apache-DBI-mp2.diff ends here ---
In reply to Re^2: Apache2::DBI
by jbrugger
in thread Apache2::DBI
by thcsoft
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |