Commit 53d5784f authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 347453: Checksetup needs Perl-LDAP for Net::LDAP module on Windows

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=justdave
parent 2e8d8183
......@@ -158,6 +158,7 @@ use constant WIN32_MODULE_NAMES => {
'GD::Graph' => 'GDGraph',
'GD::Text::Align' => 'GDTextUtil',
'Mail::Mailer' => 'MailTools',
'Net::LDAP' => 'perl-ldap',
# We provide Template 2.14 or lower for Win32, so it still includes
# the GD plugin.
'Template::Plugin::GD' => 'Template-Toolkit',
......@@ -498,7 +499,7 @@ sub vers_cmp {
sub install_command {
my $module = shift;
if ($^O =~ /MSWin32/i) {
if (ON_WINDOWS) {
return "ppm install " . WIN32_MODULE_NAMES->{$module} if
WIN32_MODULE_NAMES->{$module};
$module =~ s/::/-/g;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment