ports/64909: www/p5-Apache-Test won't build due to bad patch
Mark Cornick
mcornick at isr.umd.edu
Mon Mar 29 22:30:13 UTC 2004
>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 at 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.
More information about the freebsd-ports-bugs
mailing list