summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-03-26 11:30:51 +0200
committermkanat%bugzilla.org <>2007-03-26 11:30:51 +0200
commit0a152b4142b04ab78c6247365533d3b8b8acaf43 (patch)
treeda6b2a97d2240e73fa8b6e7c2d61e94fb1b8a9a8
parentbc122c099bacfc6af50e32949d31df740695a9c3 (diff)
downloadbugzilla-0a152b4142b04ab78c6247365533d3b8b8acaf43.tar.gz
bugzilla-0a152b4142b04ab78c6247365533d3b8b8acaf43.tar.xz
Bug 375357: GD::Graph requires GD::Text (not vice-versa)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
-rw-r--r--Bugzilla/Install/Requirements.pm10
-rwxr-xr-xchecksetup.pl3
2 files changed, 8 insertions, 5 deletions
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index 03d3c237e..7cc51a5e6 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 81eab9b87..91055588b 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;