[perl-gnome2-panelapplet/deprecation] Makefile.PL: moved META_MERGE block to new META.yml file



commit ed6f22d08f19eefd37c22c35d8f05a1eb87038cc
Author: Brian Manning <bmanning src gnome org>
Date:   Wed Sep 30 22:33:25 2020 -0700

    Makefile.PL: moved META_MERGE block to new META.yml file
    
    - Set NO_META in WriteMakefile() functions, so that the new META.yml
      file doesn't get stomped on when WriteMakefile() is run

 Makefile.PL | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/Makefile.PL b/Makefile.PL
index e8cf9d7..71fd06b 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -32,6 +32,8 @@ unless (eval "use ExtUtils::Depends '$perl_reqs{'ExtUtils::Depends'}';"
            . "1") {
   warn "$@\n";
   WriteMakefile(
+    # don't clobber the existing META.yml
+    NO_META      => 1
     PREREQ_FATAL => 1,
     PREREQ_PM    => \%perl_reqs,
   );
@@ -82,12 +84,8 @@ WriteMakefile(
   XSPROTOARG    => '-noprototypes',
   MAN3PODS      => \%pod_files,
   PREREQ_PM     => \%perl_reqs,
-
-  META_MERGE    => {
-    configure_requires => \%perl_reqs,
-    x_deprecation => 1,
-  },
-
+  # don't clobber the existing META.yml
+  NO_META      => 1
   $dep->get_makefile_vars,
 );
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]