summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorschmonz <schmonz>2014-06-28 19:52:05 +0000
committerschmonz <schmonz>2014-06-28 19:52:05 +0000
commit979a4887afe9d4639a97f738ed96b4da801fe66e (patch)
treecd610d3ee69b832240a264ac67601ff45e3bb319 /devel
parent2395fa954149ca4cc5a720206dcef4a06be9945b (diff)
downloadpkgsrc-979a4887afe9d4639a97f738ed96b4da801fe66e.tar.gz
Apply patch from RT to check more carefully for usesfio. Fixes build
with Perl 5.20 (and tests pass).
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-PerlIO-gzip/distinfo3
-rw-r--r--devel/p5-PerlIO-gzip/patches/patch-Makefile.PL18
2 files changed, 20 insertions, 1 deletions
diff --git a/devel/p5-PerlIO-gzip/distinfo b/devel/p5-PerlIO-gzip/distinfo
index 09137cc5794..c8ff353ef1a 100644
--- a/devel/p5-PerlIO-gzip/distinfo
+++ b/devel/p5-PerlIO-gzip/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/09/04 11:36:08 sno Exp $
+$NetBSD: distinfo,v 1.2 2014/06/28 19:52:05 schmonz Exp $
SHA1 (PerlIO-gzip-0.18.tar.gz) = f16b4a1710cf6a4bfdc589ab8c3b056a6d994a9d
RMD160 (PerlIO-gzip-0.18.tar.gz) = 36b4991424fdfa4dbb824411cbd57f49922ad026
Size (PerlIO-gzip-0.18.tar.gz) = 19179 bytes
+SHA1 (patch-Makefile.PL) = 2b2868138bb1ae3d14e1c419a233ef9b8a6c0102
diff --git a/devel/p5-PerlIO-gzip/patches/patch-Makefile.PL b/devel/p5-PerlIO-gzip/patches/patch-Makefile.PL
new file mode 100644
index 00000000000..4c861f0ffb6
--- /dev/null
+++ b/devel/p5-PerlIO-gzip/patches/patch-Makefile.PL
@@ -0,0 +1,18 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2014/06/28 19:52:05 schmonz Exp $
+
+Don't assume usesfio is core config (in Perl 5.20, it no longer is).
+
+Patch from <https://rt.cpan.org/Public/Bug/Display.html?id=92412>.
+
+--- Makefile.PL.orig 2006-10-01 21:28:25.000000000 +0000
++++ Makefile.PL
+@@ -4,7 +4,8 @@ use 5.008; # Stop perl 5.005 or earler b
+ use ExtUtils::MakeMaker;
+ use Config;
+
+-unless ($Config{useperlio} eq 'define' and $Config{usesfio} eq 'false') {
++unless ($Config{useperlio} eq 'define' and
++ (defined($Config{usesfio}) ? $Config{usesfio} : 'false') eq 'false') {
+ die <<BARF;
+ You need perl 5.8.0 or later, configured to use perlio (and not to use sfio)
+ BARF