From 53d5784fd5afdcfd7afa00f726936b59e8fab58c Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sun, 24 Sep 2006 10:36:32 +0000 Subject: Bug 347453: Checksetup needs Perl-LDAP for Net::LDAP module on Windows Patch By Max Kanat-Alexander (module owner) a=justdave --- Bugzilla/Install/Requirements.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index 22c581eae..06c8b557b 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; -- cgit v1.2.3-24-g4f1b