From 0a152b4142b04ab78c6247365533d3b8b8acaf43 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Mon, 26 Mar 2007 09:30:51 +0000 Subject: [PATCH] Bug 375357: GD::Graph requires GD::Text (not vice-versa) Patch By Max Kanat-Alexander (module owner) a=mkanat --- Bugzilla/Install/Requirements.pm | 10 +++++----- checksetup.pl | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index 03d3c237e9..7cc51a5e61 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -121,14 +121,14 @@ sub OPTIONAL_MODULES { feature => 'Graphical Reports' }, { - package => 'GDGraph', - module => 'GD::Graph', + package => 'GDTextUtil', + module => 'GD::Text', version => 0, feature => 'Graphical Reports' }, - { - package => 'GDTextUtil', - module => 'GD::Text', + { + package => 'GDGraph', + module => 'GD::Graph', version => 0, feature => 'Graphical Reports' }, diff --git a/checksetup.pl b/checksetup.pl index 81eab9b876..91055588b2 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -44,6 +44,9 @@ use strict; use 5.008; +# If we've installed modules into the local directory, we want to +# be sure that the local directory comes first in @INC. +use lib '.'; use File::Basename; use Getopt::Long qw(:config bundling); use Pod::Usage; -- 2.47.3