about summary refs log tree commit homepage
path: root/Makefile.PL
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-05-05 01:37:00 +0000
committerEric Wong <e@80x24.org>2019-05-08 22:56:27 +0000
commitd06475cc90b2d1f43ef8454d56ddb19e6293a385 (patch)
tree49874cc54605a2115861ecadec6fc1e8ca04e906 /Makefile.PL
parentfe86054ee1e2d93b19762a34ed1aaebe43635ff0 (diff)
downloadpublic-inbox-d06475cc90b2d1f43ef8454d56ddb19e6293a385.tar.gz
Fortunately, there is a pattern to most of these package names
in all distros I've tested (and hopefully other BSDs have them,
too).

Then, reorder the INSTALL document to mention the top-level
modules, first, so users can avoid needing to type extra
dependencies.  However, we still list some implicit dependencies
in case the upstream package drops dependencies independently of
us.

Finally, Devel::Peek is not a dependency worth making optional
since it's bundled by Perl upstream.  Fedora/RH-based distros
are the only one which turn it into a non-standard package when
Perl5 is installed.
Diffstat (limited to 'Makefile.PL')
-rw-r--r--Makefile.PL8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 3bb00725..b8576674 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -29,10 +29,18 @@ WriteMakefile(
                 # Keep this sorted and synced to the INSTALL document
                 'Date::Parse' => 0,
                 'Email::MIME' => 0,
+
+                # the following should be pulled in by Email::MIME:
                 'Email::MIME::ContentType' => 0,
                 'Email::Simple' => 0,
+
+                # "libencode-perl" on Debian, `perl5' on FreeBSD
                 'Encode::MIME::Header' => 0,
 
+                # libperl$PERL_VERSION on Debian, `perl5' on FreeBSD,
+                # but Fedora seems to need this separately
+                'Devel::Peek' => 0,
+
                 # TODO: these should really be made optional...
                 'Plack' => 0,
                 'URI::Escape' => 0,