build: replace deprecated create_makefile_pl by configure_requires
authorMischa POSLAWSKY <perl@shiar.org>
Mon, 21 May 2012 14:17:21 +0000 (16:17 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 21 May 2012 15:52:13 +0000 (17:52 +0200)
Build.PL

index e4cea73..f5bae6b 100755 (executable)
--- a/Build.PL
+++ b/Build.PL
@@ -17,11 +17,14 @@ Module::Build->new(
                'File::Temp' => 0,
                'Test::NoWarnings' => 0,
        },
+       configure_requires => {
+               'Module::Build' => 0.38,
+       },
        meta_merge => {
                resources => {
                        repository => 'git://git.shiar.nl/file-rewrite',
                },
        },
-       create_makefile_pl => 'passthrough',
+       create_makefile_pl => 'small',
 )->create_build_script;