mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
devel/p5-Data-Peek: make non-interactive
This commit is contained in:
parent
39eff20776
commit
f15870906b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364429
@ -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 <bsd.port.mk>
|
||||
|
14
devel/p5-Data-Peek/files/patch-Makefile.PL
Normal file
14
devel/p5-Data-Peek/files/patch-Makefile.PL
Normal file
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user