[perl-gnome2-dia/deprecation: 4/6] Makefile.PL: added 'NO_META => 1'
- From: Brian Manning <bmanning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-gnome2-dia/deprecation: 4/6] Makefile.PL: added 'NO_META => 1'
- Date: Wed, 30 Sep 2020 22:21:09 +0000 (UTC)
commit 0d81d888281b2fc6c3744d8deed8e81a95b0d7b7
Author: Brian Manning <bmanning src gnome org>
Date: Tue Sep 29 23:03:16 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 32c7651..43e8342 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'},
@@ -79,6 +81,8 @@ WriteMakefile(
ABSTRACT_FROM => 'Dia.pm',
XSPROTOARG => '-noprototypes',
MAN3PODS => \%pod_files,
+ # don't clobber the existing META.yml
+ NO_META => 1,
$diacanvas->get_makefile_vars,
);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]