From: Eric Wong <e@80x24.org>
Date: Thu, 10 Apr 2014 05:36:58 +0000 (+0000)
Subject: INSTALL: update with Mail::Thread dependency
X-Git-Tag: v1.0.0~1279
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=bf798ee2f9fd31c58adf06e99ce56a7b9b9c5c74;p=public-inbox.git

INSTALL: update with Mail::Thread dependency

While we're at it, sort Makefile.PL and add a note to
update INSTALL, too.
---

diff --git a/INSTALL b/INSTALL
index 2b6720eb..1c7370ec 100644
--- a/INSTALL
+++ b/INSTALL
@@ -26,6 +26,7 @@ Requirements (server MDA)
   - File::Path::Expand         libfile-path-expand-perl
   - IPC::Open2                 perl
   - IPC::Run                   libipc-run-perl
+  - Mail::Thread (2.5+)        libmail-thread-perl
   - URI::Escape                liburi-perl
   - XML::Atom::SimpleFeed      libxml-atom-simplefeed-perl
 
diff --git a/Makefile.PL b/Makefile.PL
index 313161d4..f74d146a 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -10,22 +10,22 @@ WriteMakefile(
 	ABSTRACT => 'public-inbox server infrastructure',
 	EXE_FILES => [qw/public-inbox-mda public-inbox-cgi/],
 	PREREQ_PM => {
-		# note: we use ssoma(1) and spamc(1),
-		# NOT the Perl modules
+		# note: we use ssoma(1) and spamc(1), NOT the Perl modules
 		# We also depend on git through ssoma.
+		# Keep this sorted and synced to the INSTALL document
+		'CGI' => 0,
+		'Date::Parse' => 0,
+		'Email::Address' => 0,
+		'Email::Filter' => 0,
 		'Email::MIME' => 0,
 		'Email::MIME::ContentType' => 0,
-		'Email::Filter' => 0,
-		'Email::Address' => 0,
-		'Mail::Thread' => '2.5', # 2.5+ needed for Email::Simple compat
-		'Date::Parse' => 0,
 		'Encode::MIME::Header' => 0,
-		'XML::Atom::SimpleFeed' => 0,
+		'File::Path::Expand' => 0,
 		'IPC::Open2' => 0,
 		'IPC::Run' => 0,
-		'File::Path::Expand' => 0,
-		'CGI' => 0,
+		'Mail::Thread' => '2.5', # 2.5+ needed for Email::Simple compat
 		'URI::Escape' => 0,
+		'XML::Atom::SimpleFeed' => 0,
 		# We have more test dependencies, but do not force
 		# users to install them
 	},