use bare filehandles rather than IO::File (patch from leont)'
[p5sagit/Module-Metadata.git] / Makefile.PL
index ab57117..9329964 100644 (file)
@@ -17,7 +17,6 @@ WriteMakefile(
     'Carp'        => 0,
     'File::Find'  => 0,
     'File::Spec'  => 0,
-    'IO::File'    => 0,
     'strict'      => 0,
     'warnings'    => 0,
     'vars'        => 0,
@@ -28,6 +27,7 @@ WriteMakefile(
       : ()
     ,
   },
+  -f 'META.yml' ? () : (
   META_MERGE => {
     'meta-spec' => { version => 2 },
     dynamic_config => 0,
@@ -61,5 +61,5 @@ WriteMakefile(
         },
       },
     },
-  },
+  } ),
 );