diff --git a/devel/p5-Data-Peek/Makefile b/devel/p5-Data-Peek/Makefile index f774e81001bd..43d39e02a724 100644 --- a/devel/p5-Data-Peek/Makefile +++ b/devel/p5-Data-Peek/Makefile @@ -18,4 +18,7 @@ TEST_DEPENDS= p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings USES= perl5 tar:tgz USE_PERL5= configure +post-stage: + ${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Data/Peek/Peek.so + .include diff --git a/devel/p5-Data-Peek/files/patch-Makefile.PL b/devel/p5-Data-Peek/files/patch-Makefile.PL new file mode 100644 index 000000000000..bba6cad0bc05 --- /dev/null +++ b/devel/p5-Data-Peek/files/patch-Makefile.PL @@ -0,0 +1,14 @@ +--- ./Makefile.PL.orig 2014-01-01 12:53:34.000000000 +0100 ++++ ./Makefile.PL 2014-08-09 13:50:03.000000000 +0200 +@@ -33,9 +33,9 @@ + $ExtUtils::MakeMaker::VERSION > 6.30 and $wm{LICENSE} = "perl"; + + unless (exists $ENV{AUTOMATED_TESTING} and $ENV{AUTOMATED_TESTING} == 1) { +- if (prompt ("Do you want to install module DP as a shortcut for Data::Peek ?", "y") =~ m/[yY]/) { ++ { + local $/; +- open my $pm, "<", "Peek.pm" or die "CAnnot read Peek.pm: $!\n"; ++ open my $pm, "<", "Peek.pm" or die "Cannot read Peek.pm: $!\n"; + my $vsn = do { <$pm> =~ m/^\$VERSION\s*=\s*"([0-9._]+)/m; $1 }; + close $pm; +