From 1f107c1f673e9ea84d16693796375910b0c6eb22 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 08 Jan 2017 17:50:20 -0500 Subject: Makefile.PL: Add META_MERGE --- diff --git a/Makefile.PL b/Makefile.PL index 42e6d3b..f04ce86 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -75,6 +75,20 @@ sub find_prereqs "PREREQ_PM" => find_prereqs(qr{^(bin|lib)/}), ); +if (eval {ExtUtils::MakeMaker->VERSION("6.46");}) { + $mm_args{"META_MERGE"} = { + "meta-spec" => { version => 2 }, + "resources" => { + "homepage" => "http://www.pehjota.net/projects/decmath/", + "repository" => { + "type" => "git", + "url" => "git://git.pehjota.net/decmath/Math-Decimal-FastPP.git", + "web" => "http://git.pehjota.net/decmath/Math-Decimal-FastPP.git/", + }, + }, + }; +} + if (eval {ExtUtils::MakeMaker->VERSION("6.64");}) { # 6.64 <= MM $mm_args{"TEST_REQUIRES"} = find_prereqs(qr{^t/}); -- cgit v0.9.1