From: | "Torsten Veller (tove)" <tove@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-perl/Mouse/files: 0.64-ppport.patch |
Date: | Thu, 29 Jul 2010 20:21:24 |
Message-Id: | 20100729202121.5C18B2CF37@corvid.gentoo.org |
1 | tove 10/07/29 20:21:21 |
2 | |
3 | Added: 0.64-ppport.patch |
4 | Log: |
5 | Version bump. Use provided ppport.h |
6 | |
7 | (Portage version: 2.2_rc67_p267/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-perl/Mouse/files/0.64-ppport.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Mouse/files/0.64-ppport.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Mouse/files/0.64-ppport.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: 0.64-ppport.patch |
16 | =================================================================== |
17 | --- Mouse-0.64/inc/Module/Install/XSUtil.pm |
18 | +++ Mouse-0.64/inc/Module/Install/XSUtil.pm |
19 | @@ -116,24 +116,6 @@ |
20 | |
21 | my $filename = 'ppport.h'; |
22 | |
23 | - $dppp_version ||= 3.19; # the more, the better |
24 | - $self->configure_requires('Devel::PPPort' => $dppp_version); |
25 | - $self->build_requires('Devel::PPPort' => $dppp_version); |
26 | - |
27 | - print "Writing $filename\n"; |
28 | - |
29 | - my $e = do{ |
30 | - local $@; |
31 | - eval qq{ |
32 | - use Devel::PPPort; |
33 | - Devel::PPPort::WriteFile(q{$filename}); |
34 | - }; |
35 | - $@; |
36 | - }; |
37 | - if($e){ |
38 | - print "Cannot create $filename because: $@\n"; |
39 | - } |
40 | - |
41 | if(-e $filename){ |
42 | $self->clean_files($filename); |
43 | $self->cc_define('-DUSE_PPPORT'); |