From owner-freebsd-perl@FreeBSD.ORG Sat Feb 19 03:49:40 2011 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC3BB106564A for ; Sat, 19 Feb 2011 03:49:40 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from exhub015-2.exch015.msoutlookonline.net (exhub015-2.exch015.msoutlookonline.net [207.5.72.94]) by mx1.freebsd.org (Postfix) with ESMTP id C55148FC08 for ; Sat, 19 Feb 2011 03:49:40 +0000 (UTC) Received: from [192.168.1.2] (173.66.131.189) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.2.254.0; Fri, 18 Feb 2011 19:39:36 -0800 Message-ID: <4D5F3B74.10705@p6m7g8.com> Date: Fri, 18 Feb 2011 22:39:32 -0500 From: "Philip M. Gollucci" Organization: P6M7G8 Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: olli hauer References: <20110219011811.5F9F6106566B@hub.freebsd.org> In-Reply-To: <20110219011811.5F9F6106566B@hub.freebsd.org> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: perl@freebsd.org, FreeBSD-gnats-submit@freebsd.org Subject: Re: [patch] port www/p5-Apache-DBI depends on wrong mod_perl if apache22 is default X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2011 03:49:40 -0000 Not sure about this one. see www/rt38, seems to get it right. On 2/18/2011 8:18 PM, olli hauer wrote: >> Submitter-Id: current-users >> Originator: Olli Hauer >> Organization: >> Confidential: no >> Synopsis: [patch] port www/p5-Apache-DBI depends on wrong mod_perl if apache22 is default >> Severity: non-critical >> Priority: low >> Category: ports >> Class: change-request >> Release: >> Environment: > > >> Description: > If the port is build on a fresh system where apache22 is the default > the wrong mod_perl version is choosen. > > Note: Apache22 will be the default in near time. > >> How-To-Repeat: > Fresh system, make apache22 the default and build the port. > For example the port devel/otrs will not build on a fresh system > since p5-Apache-Reload choose the wrong mod_perl. > > >> Fix: > > --- p5-Apache-DBI.diff begins here --- > Index: Makefile > =================================================================== > RCS file: /home/pcvs/ports/www/p5-Apache-DBI/Makefile,v > retrieving revision 1.35 > diff -u -r1.35 Makefile > --- Makefile 17 Dec 2010 20:16:51 -0000 1.35 > +++ Makefile 19 Feb 2011 01:15:39 -0000 > @@ -7,6 +7,7 @@ > > PORTNAME?= Apache-DBI > PORTVERSION= 1.09 > +PORTREVISION= 1 > CATEGORIES= www databases perl5 > MASTER_SITES= CPAN > PKGNAMEPREFIX= p5- > @@ -24,8 +25,10 @@ > MAN3= Apache::DBI.3 Apache::AuthDBI.3 > > PERL_CONFIGURE= yes > +USE_APACHE= 13+ > +.include > > -.if defined(WITH_MODPERL2) > +.if defined(WITH_MODPERL2) || ${APACHE_VERSION} > 13 > RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2 > BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2 > .else > @@ -41,4 +44,4 @@ > %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache \ > %%SITE_PERL%%/Apache > > -.include > +.include > --- p5-Apache-DBI.diff ends here --- > > > _______________________________________________ > freebsd-perl@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-perl > To unsubscribe, send any mail to "freebsd-perl-unsubscribe@freebsd.org" > -- ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.