]> Sergey Matveev's repositories - public-inbox.git/commitdiff
INSTALL: depend on Encode instead of Encode::MIME::Header
authorEric Wong <e@80x24.org>
Wed, 8 May 2019 02:47:20 +0000 (02:47 +0000)
committerEric Wong <e@80x24.org>
Wed, 8 May 2019 22:56:34 +0000 (22:56 +0000)
Email::MIME uses Encode::MIME::Header and depends on that
appropriately; however we depend on other parts of the Encode
distribution, but that's bundled with Perl by upstream, anyways;
and should place no additional burden on users.

INSTALL
Makefile.PL

diff --git a/INSTALL b/INSTALL
index 99836c13695e62fcc6d5fa0830d5ae114b4f0379..4574311e0240b2e6fc33068c295cb7cf313ca5e9 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -45,10 +45,6 @@ Beyond that, there is a long list of Perl modules required, starting with:
                                    pkg: p5-Email-MIME
                                    rpm: perl-Email-MIME
 
-* Encode::MIME::Header             deb: libencode-perl
-                                   pkg: perl5
-                                   rpm: perl-Encode
-
 * Plack                            deb: libplack-perl
                                    pkg: p5-Plack
                                    rpm: perl-Plack, perl-Plack-Test,
@@ -114,6 +110,11 @@ above, so there is no need to explicitly install them:
                                    rpm: perl-Email-Simple
                                    (pulled in by Email::MIME)
 
+* Encode                           deb: libperl5.$MINOR (or libencode-perl)
+                                   pkg: perl5
+                                   rpm: perl-Encode
+                                   (likely installed with Perl)
+
 - DBI                              deb: libdbi-perl
                                    pkg: p5-DBI
                                    rpm: perl-DBI
index b8576674f072d56496fab9c7c54a87fcf8ca4e88..eda7319230a031ab8815ed1367a84f21bf4b1711 100644 (file)
@@ -34,8 +34,9 @@ WriteMakefile(
                'Email::MIME::ContentType' => 0,
                'Email::Simple' => 0,
 
-               # "libencode-perl" on Debian, `perl5' on FreeBSD
-               'Encode::MIME::Header' => 0,
+               # libperl$PERL_VERSION or libencode-perl on Debian,
+               # `perl5' on FreeBSD
+               'Encode' => 0,
 
                # libperl$PERL_VERSION on Debian, `perl5' on FreeBSD,
                # but Fedora seems to need this separately