CC: | Dan Book <grinnz [...] grinnz.com> |
Subject: | [PATCH] set dynamic_config 0 and x_static_install 1 in metadata |
Date: | Sat, 25 May 2019 14:28:56 -0400 |
To: | bug-install [...] rt.cpan.org |
From: | Dan Book <grinnz [...] grinnz.com> |
---
Makefile.PL | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/Makefile.PL b/Makefile.PL
index f0d3988..827b77d 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -7,8 +7,14 @@ WriteMakefile(
PREREQ_PM => {}, # e.g., Module::Name => 1.1
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'lib/install.pm', # retrieve abstract from module
- AUTHOR => 'David Golden <dagolden@cpan.org') : ()),
- ($ExtUtils::MakeMaker::VERSION > 6.30 ?
+ AUTHOR => 'David Golden <dagolden@cpan.org>') : ()),
+ (eval { ExtUtils::MakeMaker->VERSION('6.30') } ?
(LICENSE => 'perl',
) : () ),
+ (eval { ExtUtils::MakeMaker->VERSION('6.46') } ?
+ (META_MERGE => {
+ 'meta-spec' => { version => 2 },
+ dynamic_config => 0,
+ x_static_install => 1,
+ }) : () ),
);
--
2.20.1