]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 375357: GD::Graph requires GD::Text (not vice-versa)
authormkanat%bugzilla.org <>
Mon, 26 Mar 2007 09:30:51 +0000 (09:30 +0000)
committermkanat%bugzilla.org <>
Mon, 26 Mar 2007 09:30:51 +0000 (09:30 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat

Bugzilla/Install/Requirements.pm
checksetup.pl

index 03d3c237e9012912f19e6505c35ef388a04a932b..7cc51a5e61c62f4731a2c09491e738f133d5c837 100644 (file)
@@ -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'
     },
index 81eab9b8761bd60bb1bcdc7818d175c0e1a6cdb4..91055588b2ca6c0be384c4b9363a65c15eff253b 100755 (executable)
@@ -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;