ea2156
From 30b91a0898e50874886343b66d27f78eaf960faf Mon Sep 17 00:00:00 2001
ea2156
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
ea2156
Date: Tue, 2 Apr 2019 16:54:42 +0200
ea2156
Subject: [PATCH] EU::MM is not deprecated
ea2156
MIME-Version: 1.0
ea2156
Content-Type: text/plain; charset=UTF-8
ea2156
Content-Transfer-Encoding: 8bit
ea2156
ea2156
Contrary to the warning in the Makefile.PL, only ExtUtils::MakeMaker
ea2156
is a full-fledged system. Module::Build is not maintained anymore and
ea2156
Module::Build::Tiny contains design flaws regarding XS compilation.
ea2156
ea2156
Signed-off-by: Petr Písař <ppisar@redhat.com>
ea2156
---
ea2156
 Makefile.PL | 61 -----------------------------------------------------
ea2156
 1 file changed, 61 deletions(-)
ea2156
ea2156
diff --git a/Makefile.PL b/Makefile.PL
ea2156
index 5915c46..e98af42 100644
ea2156
--- a/Makefile.PL
ea2156
+++ b/Makefile.PL
ea2156
@@ -9,67 +9,6 @@ use warnings;
ea2156
 use 5.006;
ea2156
 use ExtUtils::MakeMaker;
ea2156
 
ea2156
-BEGIN {
ea2156
-my %configure_requires = (
ea2156
-    'ExtUtils::MakeMaker' => '0',
ea2156
-    'Module::Build::Tiny' => '0.034',
ea2156
-);
ea2156
-
ea2156
-my %errors = map {
ea2156
-    eval "require $_; $_->VERSION($configure_requires{$_}); 1";
ea2156
-    $_ => $@,
ea2156
-} keys %configure_requires;
ea2156
-
ea2156
-if (grep { $_ } values %errors)
ea2156
-{
ea2156
-    warn "Errors from configure prereqs:\n"
ea2156
-        . do {
ea2156
-            require Data::Dumper; Data::Dumper->new([ \%errors ])->Indent(2)->Terse(1)->Sortkeys(1)->Dump;
ea2156
-        };
ea2156
-}
ea2156
-
ea2156
-if (not $ENV{PERL_MM_FALLBACK_SILENCE_WARNING})
ea2156
-{
ea2156
-    warn <<'EOW';
ea2156
-*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***
ea2156
-
ea2156
-If you're seeing this warning, your toolchain is really, really old* and
ea2156
-you'll almost certainly have problems installing CPAN modules from this
ea2156
-century. But never fear, dear user, for we have the technology to fix this!
ea2156
-
ea2156
-If you're using CPAN.pm to install things, then you can upgrade it using:
ea2156
-
ea2156
-    cpan CPAN
ea2156
-
ea2156
-If you're using CPANPLUS to install things, then you can upgrade it using:
ea2156
-
ea2156
-    cpanp CPANPLUS
ea2156
-
ea2156
-If you're using cpanminus, you shouldn't be seeing this message in the first
ea2156
-place, so please file an issue on github.
ea2156
-
ea2156
-If you're using a packaging tool through a unix distribution, this issue
ea2156
-should be reported to the package manager.
ea2156
-
ea2156
-If you're installing manually, please retrain your fingers to run Build.PL
ea2156
-when present instead of Makefile.PL.
ea2156
-
ea2156
-This public service announcement was brought to you by the Perl Toolchain
ea2156
-Gang, the irc.perl.org #toolchain IRC channel, and the number 42.
ea2156
-
ea2156
-----
ea2156
-
ea2156
-* Alternatively, you are doing something overly clever, in which case you
ea2156
-should consider setting the 'prefer_installer' config option in CPAN.pm, or
ea2156
-'prefer_makefile' in CPANPLUS, to 'mb" and '0' respectively.
ea2156
-
ea2156
-You can also silence this warning for future installations by setting the
ea2156
-PERL_MM_FALLBACK_SILENCE_WARNING environment variable.
ea2156
-EOW
ea2156
-    sleep 10 if -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT));
ea2156
-}
ea2156
-} # end BEGIN
ea2156
-
ea2156
 my %WriteMakefileArgs = (
ea2156
   "ABSTRACT" => "A simple http server class",
ea2156
   "AUTHOR" => "Gisle Aas <gisle\@activestate.com>",
ea2156
-- 
ea2156
2.20.1
ea2156