pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-File-NFSLock Fix build with Perl 5.26.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58c8393dcf6f
branches:  trunk
changeset: 363400:58c8393dcf6f
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Wed Jun 07 23:49:25 2017 +0000

description:
Fix build with Perl 5.26.0

diffstat:

 devel/p5-File-NFSLock/distinfo                           |   3 +-
 devel/p5-File-NFSLock/patches/patch-File-NFSLock.spec.PL |  24 ++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r 2b35792a69ba -r 58c8393dcf6f devel/p5-File-NFSLock/distinfo
--- a/devel/p5-File-NFSLock/distinfo    Wed Jun 07 23:19:05 2017 +0000
+++ b/devel/p5-File-NFSLock/distinfo    Wed Jun 07 23:49:25 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 03:28:16 agc Exp $
+$NetBSD: distinfo,v 1.5 2017/06/07 23:49:25 ryoon Exp $
 
 SHA1 (File-NFSLock-1.27.tar.gz) = 8a91392ce493dbe348f1acaae2ae87e9878fc14d
 RMD160 (File-NFSLock-1.27.tar.gz) = 8492cb314ccb893463906637118ac275163dd8c2
 SHA512 (File-NFSLock-1.27.tar.gz) = 06e6fe786691e3d07ed13761e4272906e2a170bfdcee15b185a6cd4cf78dfb1e40ad12c0a9733d7b071348c815e862f49865fe47bcf03ac8b8bda4a7316e5b0c
 Size (File-NFSLock-1.27.tar.gz) = 21518 bytes
+SHA1 (patch-File-NFSLock.spec.PL) = 11e9e2b8222442d5c8d5dd1efd195a288c7664fd
diff -r 2b35792a69ba -r 58c8393dcf6f devel/p5-File-NFSLock/patches/patch-File-NFSLock.spec.PL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-File-NFSLock/patches/patch-File-NFSLock.spec.PL  Wed Jun 07 23:49:25 2017 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-File-NFSLock.spec.PL,v 1.1 2017/06/07 23:49:25 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+
+--- File-NFSLock.spec.PL.orig  2014-05-29 19:45:42.000000000 +0000
++++ 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 {



Home | Main Index | Thread Index | Old Index