Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 43438
Status: rejected
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: jdhedden [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 3.15
Fixed in: (no value)



Subject: [PATCH] Install in archlib for Perl >= 5.011
As a result of being moved from 'lib' to 'ext' in blead, Test::Harness is now being installed in arch-dependent libs. Updating Test::Harness from CPAN puts the new files in the arch-independent libs. As a result, the new version is being masked by the old version. The attached patch installs Test::Harness in $Config{installarchlib} for Perl >= 5.011.
Subject: Test-Harness.patch
--- Test-Harness-3.15/Makefile.PL.orig 2009-02-19 12:01:42.927116600 -0500 +++ Test-Harness-3.15/Makefile.PL 2009-02-19 12:03:35.307345500 -0500 @@ -6,6 +6,7 @@ use ExtUtils::MakeMaker qw/WriteMakefile prompt/; use strict; +use Config; my $core = grep { $_ eq 'PERL_CORE=1' } @ARGV; @@ -16,6 +17,9 @@ 'File::Spec' => 0.8, }, 'INSTALLDIRS' => 'perl', + 'INSTALLPRIVLIB' => ($] >= 5.011) ? $Config{installarchlib} + : $Config{installprivlib}, + 'PL_FILES' => {}, 'test' => { 'TESTS' => 't/*.t t/compat/*.t' },
On Thu Feb 19 12:10:47 2009, JDHEDDEN wrote: Show quoted text
> As a result of being moved from 'lib' to 'ext' in blead, Test::Harness > is now being installed in arch-dependent libs. Updating Test::Harness > from CPAN puts the new files in the arch-independent libs. As a > result, the new version is being masked by the old version. > > The attached patch installs Test::Harness in $Config{installarchlib} for > Perl >= 5.011.
Quoting JDHEDDEN: Show quoted text
> I found the bug for this in installperl. Patch forthcoming. > Disregard patch to Test::Harness's Makefile.PL.
I'm reverting Jerry's patch and closing this ticket.