Mercurial > pidgin
diff plugins/perl/common/Makefile.PL.in @ 6678:eb95f31fa4eb
[gaim-migrate @ 7203]
The perl plugin should now work with perl v5.6.0. This is not tested yet,
but it compiles and should work now.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Mon, 01 Sep 2003 22:16:10 +0000 |
| parents | e5c7149bc9ed |
| children | 134d0001983d |
line wrap: on
line diff
--- a/plugins/perl/common/Makefile.PL.in Mon Sep 01 20:34:53 2003 +0000 +++ b/plugins/perl/common/Makefile.PL.in Mon Sep 01 22:16:10 2003 +0000 @@ -1,4 +1,4 @@ -use 5.008; +use 5.006; use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. @@ -22,7 +22,18 @@ } ExtUtils::Constant::WriteConstants( - NAME => 'Gaim::DebugLevel', - NAMES => \@names + NAME => 'Gaim::DebugLevel', + NAMES => \@names, + C_FILE => 'const-c.inc', + XS_FILE => 'const-xs.inc' ); } +else { + use File::Copy; + use File::Spec; + + foreach my $file ('const-c.inc', 'const-xs.inc') { + my $fallback = File::Spec->catfile('fallback', $file); + copy ($fallback, $file) or die "Can't copy $fallback to $file: $!"; + } +}
