summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-09-24 12:36:32 +0200
committermkanat%bugzilla.org <>2006-09-24 12:36:32 +0200
commit53d5784fd5afdcfd7afa00f726936b59e8fab58c (patch)
tree6411c53cd3318a34785a4a3bfa49d8f68d58d8c7
parent2e8d81832a6b6809997fee0f1e4679b6eb97a5a4 (diff)
downloadbugzilla-53d5784fd5afdcfd7afa00f726936b59e8fab58c.tar.gz
bugzilla-53d5784fd5afdcfd7afa00f726936b59e8fab58c.tar.xz
Bug 347453: Checksetup needs Perl-LDAP for Net::LDAP module on Windows
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=justdave
-rw-r--r--Bugzilla/Install/Requirements.pm3
1 files changed, 2 insertions, 1 deletions
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;