]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 311277: MIME::Parser is not found with ActivePerl - Patch by byron jones (glob...
authorlpsolit%gmail.com <>
Tue, 3 Jan 2006 17:09:32 +0000 (17:09 +0000)
committerlpsolit%gmail.com <>
Tue, 3 Jan 2006 17:09:32 +0000 (17:09 +0000)
checksetup.pl

index 0e47793143d644e03f95d95849fe8f7b44351d99..7522d994cd2213850520a1293a2cf7085bfeae95 100755 (executable)
@@ -328,7 +328,8 @@ my $modules = [
         version => '3.01'
     },
     {
-        name => 'MIME::Parser',
+        # MIME::Parser is packaged as MIME::Tools on ActiveState Perl
+        name => $^O =~ /MSWin32/i ? 'MIME::Tools' : 'MIME::Parser',
         version => '5.406'
     },
     {
@@ -352,7 +353,7 @@ my %ppm_modules = (
     'GD::Text::Align'   => 'GDTextUtil',
     'Mail::Mailer'      => 'MailTools',
     'Mail::Base64'      => 'MIME-Base64',
-    'MIME::Parser'      => 'MIME-Tools',
+    'MIME::Tools'       => 'MIME-Tools',
 );
 
 sub install_command {