Skip Menu |

This queue is for tickets about the install CPAN distribution.

Report information
The Basics
Id: 129679
Status: open
Priority: 0/
Queue: install

People
Owner: Nobody in particular
Requestors: DBOOK [...] cpan.org
grinnz [...] grinnz.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
Setting dynamic_config 0 and x_static_install 1 can help with optimizing this module's installation in some cases. Also fixed the typo in the author field.