diff options
-rw-r--r-- | devel/p5-Class-MOP/Makefile | 4 | ||||
-rw-r--r-- | devel/p5-Class-MOP/distinfo | 9 | ||||
-rw-r--r-- | devel/p5-Class-MOP/patches/patch-aa | 45 |
3 files changed, 6 insertions, 52 deletions
diff --git a/devel/p5-Class-MOP/Makefile b/devel/p5-Class-MOP/Makefile index dae6404ad40..b7c87b57435 100644 --- a/devel/p5-Class-MOP/Makefile +++ b/devel/p5-Class-MOP/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.15 2009/01/23 11:03:27 seb Exp $ +# $NetBSD: Makefile,v 1.16 2009/02/15 08:38:46 seb Exp $ # -DISTNAME= Class-MOP-0.76 +DISTNAME= Class-MOP-0.77 PKGNAME= p5-${DISTNAME} CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Class/} diff --git a/devel/p5-Class-MOP/distinfo b/devel/p5-Class-MOP/distinfo index 8bf2e6e9f01..f9ab9e2f5d9 100644 --- a/devel/p5-Class-MOP/distinfo +++ b/devel/p5-Class-MOP/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.13 2009/01/23 11:03:27 seb Exp $ +$NetBSD: distinfo,v 1.14 2009/02/15 08:38:46 seb Exp $ -SHA1 (Class-MOP-0.76.tar.gz) = c1b47c91cd9f6c414e8a049f71c39283020c4926 -RMD160 (Class-MOP-0.76.tar.gz) = 3557b12b9d7d61035fa4ec5dd5d9485c2b1eab7a -Size (Class-MOP-0.76.tar.gz) = 154409 bytes -SHA1 (patch-aa) = 1d54e67e537c9e956292ef7499c662d3528a9519 +SHA1 (Class-MOP-0.77.tar.gz) = 4c5a82bb594a2aa247070efa86bec1ac8323b814 +RMD160 (Class-MOP-0.77.tar.gz) = 27fb196ba393ca716d21ee67e6c3cb34f649fb8a +Size (Class-MOP-0.77.tar.gz) = 155028 bytes diff --git a/devel/p5-Class-MOP/patches/patch-aa b/devel/p5-Class-MOP/patches/patch-aa deleted file mode 100644 index d0221efdb5a..00000000000 --- a/devel/p5-Class-MOP/patches/patch-aa +++ /dev/null @@ -1,45 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2009/01/23 11:03:27 seb Exp $ - -Avoid GNU make inference rules extension (applied upstream). - ---- Makefile.PL.orig 2009-01-22 22:20:41.000000000 +0000 -+++ Makefile.PL -@@ -130,9 +130,7 @@ sub is_maintainer { - sub get_pp_tests { - opendir my $dh, 't' or die "Cannot read t: $!"; - -- return map { -- File::Spec->catfile('t', "pp_${_}") -- } grep { $_ !~ /^99/ } grep {/^\d.+\.t$/} readdir $dh; -+ return grep { $_ !~ /^99/ } grep {/^\d.+\.t$/} readdir $dh; - } - - # This is EUMM voodoo -@@ -149,9 +147,17 @@ sub init { - package MY; - - sub postamble { -- my $pp_tests = join q{ }, ::get_pp_tests(); -+ my @test_files = ::get_pp_tests(); -+ my $pp_tests = join q{ }, map { File::Spec->catfile('t', "pp_${_}") } @test_files; -+ my @pp_test_targets = join qq{\n}, map { -+ my $source = File::Spec->catfile('t', ${_}); -+ File::Spec->catfile('t', "pp_${_}") . q{: } -+ . qq{$source t/header_pp.inc\n\t} -+ . q{$(NOECHO) $(ABSPERLRUN) "-MExtUtils::Command" -e cat t/header_pp.inc } -+ . $source . q{ > $@} . qq{\n} -+ } @test_files; - my $test_dep = $::has_compiler && ::is_maintainer() -- ? 'pure_all :: pp_tests' -+ ? qq{pure_all :: pp_tests\n} . join qq{\n}, @pp_test_targets - : ''; - - return <<"EOM" -@@ -159,7 +165,5 @@ pp_tests: ${pp_tests} - - ${test_dep} - --t/pp_%: t/% t/header_pp.inc --\t\$(NOECHO) \$(ABSPERLRUN) "-MExtUtils::Command" -e cat t/header_pp.inc \$< > \$@ - EOM - } |