You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
1.2 KiB

Index: SVN-Look-0.41/Makefile.PL
--- SVN-Look-0.41/Makefile.PL.orig 2013-10-21 01:31:54.000000000 +0200
+++ SVN-Look-0.41/Makefile.PL 2013-10-21 20:46:50.257802636 +0200
@@ -3,31 +3,6 @@
use strict;
use warnings;
-# Check if we have a suitable version of the svnlook command.
-eval {
- my $path = $ENV{PATH} || '';
- open my $svnlook, '-|', 'svnlook --version'
- or die "Aborting because I couldn't find the 'svnlook' executable in PATH='$path'.\n";
- $_ = <$svnlook>;
- if (my ($major, $minor, $patch) = (/(\d+)\.(\d+)\.(\d+)/)) {
- $major > 1 || $major == 1 && $minor >= 4
- or die "I need at least version 1.4.0 of svnlook but you have only $major.$minor.$patch.\n";
- } else {
- die "Can't grok Subversion version from svnlook --version command.\n";
- }
- local $/ = undef; # slurp mode
- <$svnlook>;
- close $svnlook or die "Can't close svnlook commnand.\n";
-};
-if ($@) {
- warn $@;
- # CPAN Testers says
- # (http://wiki.cpantesters.org/wiki/CPANAuthorNotes) that we
- # should simply exit normally before generating the Makefile if
- # there is an unmet dependency.
- exit 0;
-}
-
use ExtUtils::MakeMaker 6.30;
my %WriteMakefileArgs = (