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
35 lines
1.2 KiB
Index: SVN-Look-0.42/Makefile.PL |
|
--- SVN-Look-0.42/Makefile.PL.orig 2020-10-09 21:22:25.024735000 +0200 |
|
+++ SVN-Look-0.42/Makefile.PL 2020-10-09 21:23:31.928449000 +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 ; |
|
|
|
my %WriteMakefileArgs = (
|
|
|