Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 17:29:07 -0500 (EST)
From:      Mark Cornick <mcornick@isr.umd.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/64909: www/p5-Apache-Test won't build due to bad patch
Message-ID:  <200403292229.i2TMT7Zx095975@rooney.isr.umd.edu>
Resent-Message-ID: <200403292230.i2TMUCTt012459@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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.
 
 



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