[libmath-prime-util-perl] 61/72: Only use TEST_REQUIRES with new enough MM
Partha P. Mukherjee
ppm-guest at moszumanska.debian.org
Thu May 21 18:49:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
ppm-guest pushed a commit to annotated tag v0.32
in repository libmath-prime-util-perl.
commit 2d3483e8a8fc329ed2e4b28e0dfb2cdc58151045
Author: Dana Jacobsen <dana at acm.org>
Date: Fri Oct 11 08:17:58 2013 -0700
Only use TEST_REQUIRES with new enough MM
---
Makefile.PL | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Makefile.PL b/Makefile.PL
index 2e24249..cc0eec1 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -55,6 +55,9 @@ sub WriteMakefile1 { # Cribbed from eumm-upgrade by Alexandr Ciornii
my $eumm_version = $ExtUtils::MakeMaker::VERSION;
$eumm_version = eval $eumm_version;
+ if ($params{TEST_REQUIRES} and $eumm_version < 6.6303) {
+ $params{BUILD_REQUIRES}={ %{$params{BUILD_REQUIRES} || {}} , %{$params{TEST_REQUIRES}} };
+ }
if ($params{BUILD_REQUIRES} and $eumm_version < 6.5503) {
#EUMM 6.5502 has problems with BUILD_REQUIRES
$params{PREREQ_PM}={ %{$params{PREREQ_PM} || {}} , %{$params{BUILD_REQUIRES}} };
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git
More information about the Pkg-perl-cvs-commits
mailing list