about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-05-08 02:47:20 +0000
committerEric Wong <e@80x24.org>2019-05-08 22:56:34 +0000
commitc9faf7cd4b0dc0c0e635a05fc75ae137cca40a79 (patch)
treec12a8fae7732b7346b6bba447cdd9c98da3ca755
parentd06475cc90b2d1f43ef8454d56ddb19e6293a385 (diff)
downloadpublic-inbox-c9faf7cd4b0dc0c0e635a05fc75ae137cca40a79.tar.gz
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.
-rw-r--r--INSTALL9
-rw-r--r--Makefile.PL5
2 files changed, 8 insertions, 6 deletions
diff --git a/INSTALL b/INSTALL
index 99836c13..4574311e 100644
--- 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
diff --git a/Makefile.PL b/Makefile.PL
index b8576674..eda73192 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -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