Subject: | Broken with v7.06 version of ExtUtils::MakeMaker |
Hi,
Unfortunately your distribution appears to not work with the latest release v7.06 of ExtUtils::MakeMaker.
~/build/HTTP-Any-0.05 $ perl Makefile.PL
Generating a Unix-style Makefile
Writing Makefile for HTTP::Any
Writing MYMETA.yml and MYMETA.json
~/build/HTTP-Any-0.05 $ make
make: *** No rule to make target `HTTP/Any/AnyEvent.pm HTTP/Any/Curl.pm HTTP/Any/LWP.pm\', needed by `pm_to_blib'. Stop.
~/build/HTTP-Any-0.05 $ perl -MExtUtils::MakeMaker\ 99999
ExtUtils::MakeMaker version 99999 required--this is only version 7.06.
BEGIN failed--compilation aborted.
I've tracked down the problem and attach a patch that should resolve the issue.
Many thanks.
Subject: | Makefile.PL.diff |
diff --git a/Makefile.PL b/Makefile.PL
index b580e82..e5169e2 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -2,7 +2,7 @@ use strict;
use warnings;
use ExtUtils::MakeMaker;
-my %pm = map { $_ => "\$(INST_LIB)/$_" } "HTTP/Any.pm", map { "HTTP/Any/$_.pm"} qw(Curl AnyEvent LWP);
+my %pm = map { $_ => "\$(INST_LIB)/$_" } "HTTP/Any.pm", map { "HTTP/Any/$_.pm" } qw(Curl AnyEvent LWP);
WriteMakefile(
NAME => "HTTP::Any",