[perl-gnome2-canvas/deprecation: 2/3] Makefile.PL: added 'NO_META => 1'




commit ea4d78e633247fd6fa43eb818c135dc5897f876e
Author: Brian Manning <bmanning src gnome org>
Date:   Tue Sep 29 22:22:21 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 | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/Makefile.PL b/Makefile.PL
index 8c9c46c..d9911fc 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -31,6 +31,7 @@ unless (eval "use ExtUtils::Depends '$build_reqs{'perl-ExtUtils-Depends'}';"
    warn "$@\n";
    WriteMakefile(
          PREREQ_FATAL => 1,
+         NO_META      => 1,
          PREREQ_PM    => {
             Glib::                => $build_reqs{'perl-Glib'},
             Gtk2::                => $build_reqs{'perl-Gtk2'},
@@ -85,6 +86,7 @@ WriteMakefile(
     ABSTRACT        => '(DEPRECATED) Perl bindings for the 2.x series of the Gnome Canvas widget',
     XSPROTOARG      => '-noprototypes',
     MAN3PODS        => \%pod_files,
+    NO_META         => 1,
     $gnomecanvas->get_makefile_vars,
 );
 


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