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