Date: Wed, 11 Jun 2003 15:50:52 +0100 From: Tim Bishop <tim@bishnet.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: skv@FreeBSD.org Subject: ports/53204: Make p5-Apache-DBI port with with mod_perl2 Message-ID: <E19Q6w8-000CXp-9V@pendennis.ukc.ac.uk> Resent-Message-ID: <200306111500.h5BF0TpX066010@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 53204 >Category: ports >Synopsis: Make p5-Apache-DBI port with with mod_perl2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 11 08:00:29 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Tim Bishop >Release: FreeBSD 4.8-STABLE i386 >Organization: >Environment: System: FreeBSD pendennis.ukc.ac.uk 4.8-STABLE FreeBSD 4.8-STABLE #2: Fri Apr 4 20:34:25 BST 2003 tdb@pendennis.ukc.ac.uk:/usr/obj/usr/src/sys/PENDENNIS i386 >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@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 --- p5-Apache-DBI-mp2.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19Q6w8-000CXp-9V>