about summary refs log tree commit homepage
path: root/Makefile.PL
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-05-07 21:05:52 +0000
committerEric Wong <e@yhbt.net>2020-05-09 08:59:10 +0000
commite2139e024c370e6c6443e92f3375717470d3c4ab (patch)
treebd3611667c4a2c4e216ef1d27cc08c6884ba4a7a /Makefile.PL
parent88645f747bd43c7fc374d8bfb908dab4e6028825 (diff)
downloadpublic-inbox-e2139e024c370e6c6443e92f3375717470d3c4ab.tar.gz
We want to support Perl v5.10.1 out-of-the-box with minimal
download/installation time.  Installing Encode from CPAN
requires a compiler and lengthy build+install time.

So mimic find_mime_encoding() using what Perl v5.10.1 provides
out-of-the box.
Diffstat (limited to 'Makefile.PL')
-rw-r--r--Makefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 27bb112c..59345edb 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -130,7 +130,7 @@ WriteMakefile(
 
                 # libperl$PERL_VERSION or libencode-perl on Debian,
                 # `perl5' on FreeBSD
-                'Encode' => 0,
+                'Encode' => 2.35, # 2.35 shipped with 5.10.1
 
                 # libperl$PERL_VERSION + perl-modules-$PERL_VERSION
                 'Compress::Raw::Zlib' => 0,