[perl-gnome2-panelapplet/deprecation: 2/3] Makefile.PL: Set NO_META in WriteMakefile()
- From: Brian Manning <bmanning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-gnome2-panelapplet/deprecation: 2/3] Makefile.PL: Set NO_META in WriteMakefile()
- Date: Thu, 1 Oct 2020 06:05:47 +0000 (UTC)
commit 742424ac5adadd9f2dcf338b30004579f7af451b
Author: Brian Manning <bmanning src gnome org>
Date: Wed Sep 30 22:33:25 2020 -0700
Makefile.PL: Set NO_META in WriteMakefile()
- Set NO_META in WriteMakefile() functions, so that the new META.yml
file doesn't get stomped on when WriteMakefile() is run
Makefile.PL | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/Makefile.PL b/Makefile.PL
index 2845e0f..7537bc8 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,11 +84,8 @@ WriteMakefile(
XSPROTOARG => '-noprototypes',
MAN3PODS => \%pod_files,
PREREQ_PM => \%perl_reqs,
-
- META_MERGE => {
- configure_requires => \%perl_reqs,
- },
-
+ # 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]