[perl-gnome2-gconf] Makefile.PL: added 'NO_META => 1'



commit 6b3ef03ad4cc117251332fd6547f2aea8b1417ec
Author: Brian Manning <bmanning src gnome org>
Date:   Thu Sep 24 15:16:09 2020 -0700

    Makefile.PL: added 'NO_META => 1'
    
    - Calling 'make dist' is clobbering the META.yml file that's already
      included in the distribution, which is wrong and breaks things

 Makefile.PL | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/Makefile.PL b/Makefile.PL
index 63c3015..2f8eaae 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -29,6 +29,8 @@ unless (eval "use ExtUtils::Depends '$build_reqs{'perl-ExtUtils-Depends'}';"
            . "1") {
    warn "$@\n";
    WriteMakefile(
+         # don't clobber the existing META.yml
+         NO_META      => 1,
          PREREQ_FATAL => 1,
          PREREQ_PM    => {
             'Glib'                => $build_reqs{'perl-Glib'},
@@ -86,6 +88,8 @@ WriteMakefile(
     PREREQ_PM     => {}, # e.g., Module::Name => 1.1
     ABSTRACT_FROM => 'GConf.pm', # retrieve abstract from module
     XSPROTOARG    => '-noprototypes',
+    # don't clobber the existing META.yml
+    NO_META       => 1,
     MAN3PODS     => \%pod_files,
     $gconf->get_makefile_vars,
 );


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