perl-Cairo r166 - trunk
- From: tsch svn gnome org
- To: svn-commits-list gnome org
- Subject: perl-Cairo r166 - trunk
- Date: Sat, 28 Mar 2009 12:55:34 +0000 (UTC)
Author: tsch
Date: Sat Mar 28 12:55:34 2009
New Revision: 166
URL: http://svn.gnome.org/viewvc/perl-Cairo?rev=166&view=rev
Log:
Use EU::MM's META_MERGE instead of EXTRA_META.
Modified:
trunk/ChangeLog
trunk/Makefile.PL
Modified: trunk/Makefile.PL
==============================================================================
--- trunk/Makefile.PL (original)
+++ trunk/Makefile.PL Sat Mar 28 12:55:34 2009
@@ -49,9 +49,6 @@
eval "use $module $version; 1" or die $@;
}
-# Add this now since it's not required to generate a Makefile.
-$prereqs{'Test::Number::Delta'} = 1.00;
-
my $autogen_dir = 'build';
mkdir $autogen_dir unless (-d $autogen_dir);
$MakeHelper::autogen_dir = $autogen_dir;
@@ -394,18 +391,15 @@
$dep->get_makefile_vars,
- EXTRA_META => qq(
-configure_requires:
- ExtUtils::Depends: $prereqs{'ExtUtils::Depends'}
- ExtUtils::PkgConfig: $prereqs{'ExtUtils::PkgConfig'}
-
-build_requires:
- Test::Number::Delta: $prereqs{'Test::Number::Delta'}
-
-no_index:
- file:
- - MakeHelper.pm
-),
+ META_MERGE => {
+ configure_requires => \%prereqs,
+ build_requires => {
+ 'Test::Number::Delta' => 1.0,
+ },
+ no_index => {
+ files => [qw/MakeHelper.pm/],
+ },
+ },
);
sub MY::postamble
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]