From: | "Mikle Kolyada (zlogene)" <zlogene@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-perl/PerlIO-gzip/files: perl-5.20-build.patch |
Date: | Sun, 28 Sep 2014 15:53:20 |
Message-Id: | 20140928155317.69337671D@oystercatcher.gentoo.org |
1 | zlogene 14/09/28 15:53:17 |
2 | |
3 | Added: perl-5.20-build.patch |
4 | Log: |
5 | Fix build against perl-5.20 (bug #520158) |
6 | |
7 | (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0xC42EB5D6) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-perl/PerlIO-gzip/files/perl-5.20-build.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/PerlIO-gzip/files/perl-5.20-build.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/PerlIO-gzip/files/perl-5.20-build.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: perl-5.20-build.patch |
16 | =================================================================== |
17 | --- a/Makefile.PL 2006-10-01 21:28:25.000000000 +0000 |
18 | +++ b/Makefile.PL 2014-01-23 15:40:56.784222851 +0000 |
19 | @@ -4,7 +4,8 @@ |
20 | use ExtUtils::MakeMaker; |
21 | use Config; |
22 | |
23 | -unless ($Config{useperlio} eq 'define' and $Config{usesfio} eq 'false') { |
24 | +unless ($Config{useperlio} eq 'define' and |
25 | + (defined($Config{usesfio}) ? $Config{usesfio} : 'false') eq 'false') { |
26 | die <<BARF; |
27 | You need perl 5.8.0 or later, configured to use perlio (and not to use sfio) |
28 | BARF |