From: mkanat%bugzilla.org <> Date: Mon, 26 Mar 2007 09:30:51 +0000 (+0000) Subject: Bug 375357: GD::Graph requires GD::Text (not vice-versa) X-Git-Tag: bugzilla-3.1.2~259 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a152b4142b04ab78c6247365533d3b8b8acaf43;p=thirdparty%2Fbugzilla.git Bug 375357: GD::Graph requires GD::Text (not vice-versa) Patch By Max Kanat-Alexander (module owner) a=mkanat --- 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;