From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 19 01:20:11 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2FAB106566B for ; Sat, 19 Feb 2011 01:20:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9BB128FC1B for ; Sat, 19 Feb 2011 01:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1J1KBJq049466 for ; Sat, 19 Feb 2011 01:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1J1KBhK049465; Sat, 19 Feb 2011 01:20:11 GMT (envelope-from gnats) Resent-Date: Sat, 19 Feb 2011 01:20:11 GMT Resent-Message-Id: <201102190120.p1J1KBhK049465@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, olli hauer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E6F01065673; Sat, 19 Feb 2011 01:11:30 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from u18-124.dslaccess.de (unknown [194.231.39.124]) by mx1.freebsd.org (Postfix) with ESMTP id 42AB88FC14; Sat, 19 Feb 2011 01:11:30 +0000 (UTC) Message-Id: <20110219011130.8E6F01065673@hub.freebsd.org> Date: Sat, 19 Feb 2011 02:11:28 +0100 (CET) From: olli hauer To: X-Send-Pr-Version: 3.113 Cc: ohauer@FreeBSD.org Subject: ports/154871: [patch] port www/p5-Apache-AuthCookie depends on wrong mod_perl if apache22 is default X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: olli hauer List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2011 01:20:11 -0000 >Number: 154871 >Category: ports >Synopsis: [patch] port www/p5-Apache-AuthCookie depends on wrong mod_perl if apache22 is default >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: Sat Feb 19 01:20:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Olli Hauer >Release: >Organization: >Environment: >Description: If the port is build on a fresh system where apache22 is the default it choose the wrong mod_perl version Note: Apache22 will be the default in near time. >How-To-Repeat: Build the port against apache22 Reference: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147009 http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/a.8-exp.20110129080700/p5-Apache-AuthCookie-3.15.log >Fix: --- p5-Apache-AuthCookie.diff begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/p5-Apache-AuthCookie/Makefile,v retrieving revision 1.24 diff -u -r1.24 Makefile --- Makefile 17 Dec 2010 20:16:44 -0000 1.24 +++ Makefile 18 Feb 2011 23:41:13 -0000 @@ -7,6 +7,7 @@ PORTNAME= Apache-AuthCookie PORTVERSION= 3.15 +PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,15 +15,16 @@ MAINTAINER= perl@FreeBSD.org COMMENT= A perl module to provide custom forms for reauthentication -.if defined(WITH_MODPERL2) +USE_APACHE= 13+ +.include + +.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 -USE_APACHE= 2.0+ .else BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \ ${SITE_PERL}/${PERL_ARCH}/Apache/Test.pm:${PORTSDIR}/www/p5-Apache-Test RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl -USE_APACHE= 1.3 .endif CURUSER?= `whoami` @@ -36,4 +38,4 @@ MAN3= Apache::AuthCookie.3 Apache2::AuthCookie.3 Apache::AuthCookie::Util.3 Apache::AuthCookie::FAQ.3 -.include +.include --- p5-Apache-AuthCookie.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: