blob: 9b67d24d10d6fc82bea471c24fca3b6d7b424271 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
From 08deb6590eecd9d92a38edf1b22d615175e1d8d3 Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentfredric@gmail.com>
Date: Mon, 26 Jun 2017 19:43:14 +1200
Subject: [PATCH] Fix for '.' removal from Perl 5.26 @INC
---
File-NFSLock.spec.PL | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/File-NFSLock.spec.PL b/File-NFSLock.spec.PL
index fdf9fdf..f5586c1 100644
--- a/File-NFSLock.spec.PL
+++ b/File-NFSLock.spec.PL
@@ -18,7 +18,7 @@ sub WriteMakefile {
} elsif (my $version_from = $props{VERSION_FROM}) {
$@ = "";
$version = eval qq{
- do "$version_from";
+ do "./$version_from";
\$$name\::VERSION || die "$version_from: Missing VERSION";
};
die $@ if $@;
@@ -29,7 +29,7 @@ sub WriteMakefile {
die "Makefile.PL: Could not determine version!";
}
}
-do "Makefile.PL";
+do "./Makefile.PL";
if ($name) {
$name =~ s/::/-/g;
} else {
--
2.13.1
|