From: mkanat%bugzilla.org <> Date: Sun, 24 Sep 2006 10:36:32 +0000 (+0000) Subject: Bug 347453: Checksetup needs Perl-LDAP for Net::LDAP module on Windows X-Git-Tag: bugzilla-2.23.3~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53d5784fd5afdcfd7afa00f726936b59e8fab58c;p=thirdparty%2Fbugzilla.git Bug 347453: Checksetup needs Perl-LDAP for Net::LDAP module on Windows Patch By Max Kanat-Alexander (module owner) a=justdave --- diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index 22c581eae7..06c8b557ba 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -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;