Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2011 22:39:51 -0500
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        olli hauer <ohauer@freebsd.org>
Cc:        perl@freebsd.org, FreeBSD-gnats-submit@freebsd.org
Subject:   Re: [patch] port www/p5-Apache-Reload depends on wrong mod_perl if apache22 is default
Message-ID:  <4D5F3B87.2080600@p6m7g8.com>
In-Reply-To: <20110219011124.87E73106566B@hub.freebsd.org>
References:  <20110219011124.87E73106566B@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
'approved'

On 2/18/2011 8:11 PM, olli hauer wrote:
>> Submitter-Id:	current-users
>> Originator:	Olli Hauer
>> Organization:
>> Confidential:	no
>> Synopsis:	[patch] port www/p5-Apache-Reload 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.
> 
> Reference: 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147009
> http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/a.8-exp.20110129080700/otrs-3.0.5.log
> 
>> Fix:
> 
> --- p5-Apache-Reload.diff begins here ---
> Index: Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/www/p5-Apache-Reload/Makefile,v
> retrieving revision 1.12
> diff -u -r1.12 Makefile
> --- Makefile	15 Jan 2011 10:33:00 -0000	1.12
> +++ Makefile	18 Feb 2011 23:08:03 -0000
> @@ -17,12 +17,13 @@
>  MAKE_JOBS_SAFE=	yes
>  
>  PERL_CONFIGURE=	yes
> +USE_APACHE=	13+
>  
>  MAN3=		Apache2::Reload.3 Apache::Reload.3
>  
>  .include <bsd.port.pre.mk>
>  
> -.if defined(WITH_MODPERL2)
> +.if defined(WITH_MODPERL2) || ${APACHE_VERSION} > 13
>  BUILD_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
>  RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
>  MAKE_ENV+=	MOD_PERL=2
> --- p5-Apache-Reload.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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D5F3B87.2080600>