From owner-freebsd-ports-bugs@FreeBSD.ORG  Mon Mar 29 14:30:13 2004
Return-Path: <owner-freebsd-ports-bugs@FreeBSD.ORG>
Delivered-To: freebsd-ports-bugs@hub.freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 288DD16A4CF
	for <freebsd-ports-bugs@hub.freebsd.org>;
	Mon, 29 Mar 2004 14:30:13 -0800 (PST)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0BD4A43D53
	for <freebsd-ports-bugs@hub.freebsd.org>;
	Mon, 29 Mar 2004 14:30:13 -0800 (PST)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1])
	i2TMUCbv012463	for <freebsd-ports-bugs@freefall.freebsd.org>;
	Mon, 29 Mar 2004 14:30:12 -0800 (PST)
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2TMUCTt012459;
	Mon, 29 Mar 2004 14:30:12 -0800 (PST)
	(envelope-from gnats)
Resent-Date: Mon, 29 Mar 2004 14:30:12 -0800 (PST)
Resent-Message-Id: <200403292230.i2TMUCTt012459@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,
	Mark Cornick <mcornick@isr.umd.edu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8C82E16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>;
	Mon, 29 Mar 2004 14:28:43 -0800 (PST)
Received: from isrmail.isr.umd.edu (isrmail.isr.umd.edu [128.8.111.5])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 155E043D31
	for <FreeBSD-gnats-submit@freebsd.org>;
	Mon, 29 Mar 2004 14:28:43 -0800 (PST)
	(envelope-from mcornick@rooney.isr.umd.edu)
Received: from rooney.isr.umd.edu (rooney.isr.umd.edu [128.8.111.7])
	by isrmail.isr.umd.edu (MOS 3.4.5-GR)
	with ESMTP id ATR03317;
	Mon, 29 Mar 2004 17:28:40 -0500 (EST)
Received: from rooney.isr.umd.edu (localhost.isr.umd.edu [127.0.0.1])
	by rooney.isr.umd.edu (8.12.10/8.12.10) with ESMTP id i2TMT7ZX095976
	for <FreeBSD-gnats-submit@freebsd.org>;
	Mon, 29 Mar 2004 17:29:07 -0500 (EST)
	(envelope-from mcornick@rooney.isr.umd.edu)
Received: (from root@localhost)
	by rooney.isr.umd.edu (8.12.10/8.12.10/Submit) id i2TMT7Zx095975;
	Mon, 29 Mar 2004 17:29:07 -0500 (EST)
	(envelope-from mcornick)
Message-Id: <200403292229.i2TMT7Zx095975@rooney.isr.umd.edu>
Date: Mon, 29 Mar 2004 17:29:07 -0500 (EST)
From: Mark Cornick <mcornick@isr.umd.edu>
To: FreeBSD-gnats-submit@FreeBSD.org
X-Send-Pr-Version: 3.113
Subject: ports/64909: www/p5-Apache-Test won't build due to bad patch
X-BeenThere: freebsd-ports-bugs@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Mark Cornick <mcornick@isr.umd.edu>
List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>,
	<mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs>
List-Post: <mailto:freebsd-ports-bugs@freebsd.org>
List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>,
	<mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2004 22:30:13 -0000


>Number:         64909
>Category:       ports
>Synopsis:       www/p5-Apache-Test won't build due to bad patch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 29 14:30:12 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mark Cornick
>Release:        FreeBSD 5.2.1-RELEASE-p3 i386
>Organization:
Institute for Systems Research/University of Maryland
>Environment:
System: FreeBSD rooney.isr.umd.edu 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #0: Thu Mar 25 16:23:51 EST 2004 mcornick@rooney.isr.umd.edu:/usr/obj/usr/src/sys/GENERIC i386

>Description:
www/p5-Apache-Test won't build with perl-5.6.1_15 because the included patch
500503-Makefile.PL does not apply cleanly. A fixed patch is included below.

>How-To-Repeat:
# cd /usr/ports/www/p5-Apache-Test && make
===>  Extracting for p5-Apache-Test-1.09
>Fix:
Replace 500503-Makefile.PL with the following. The patch applies cleanly
and the package builds as normal.

--- Makefile.PL.orig	Thu Feb 19 02:40:23 2004
+++ Makefile.PL	Mon Mar 29 17:04:32 2004
@@ -97,6 +97,11 @@
     $string;
 }
 
+sub MY::manifypods	{
+	package MY; my $self=shift;
+	$self->{MAN3PODS}->{'lib/Apache/TestConfig.pm'}='$(INST_MAN3DIR)/Apache::TestConfig.$(MAN3EXT)';
+	$self->SUPER::manifypods(@_);
+}
 sub add_dep {
     my($string, $targ, $add) = @_;
     $$string =~ s/($targ\s+::)/$1 $add/;
>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for Apache-Test-1.09.tar.gz.
 ===>  Patching for p5-Apache-Test-1.09
 ===>  Applying extra patch /usr/ports/www/p5-Apache-Test/files/500503-Makefile.PL
 1 out of 1 hunks failed--saving rejects to Makefile.PL.rej
 *** Error code 1
 
 Stop in /usr/ports/www/p5-Apache-Test.