diff options
author | justdave%syndicomm.com <> | 2001-08-31 15:08:43 +0200 |
---|---|---|
committer | justdave%syndicomm.com <> | 2001-08-31 15:08:43 +0200 |
commit | fdc62300aa273b90e6930195d06b1bf061e89f4b (patch) | |
tree | bfd66ee74e381b3bfb07c52b2a905d2bc503ddd7 | |
parent | 31152e8e947876fb59da202dbee8cec5034a6e42 (diff) | |
download | bugzilla-fdc62300aa273b90e6930195d06b1bf061e89f4b.tar.gz bugzilla-fdc62300aa273b90e6930195d06b1bf061e89f4b.tar.xz |
Fix for bug 97721: Bugzilla now requires Perl 5.005 (previous requirement was Perl 5.004). This is due to the use of Template Toolkit for templatizing the pages for easier local customization. The new attachment tracker that was checked in earlier tonight uses the templates. Also included on this patch is a check for AppConfig, which is a prerequisite for Template Toolkit, because the Makefile.PL for Template Toolkit won't run without it, and it doesn't tell CPAN that it has prereqs, which causes confusion if you're installing from CPAN.
Patch by Dave Miller <justdave@syndicomm.com>
r= myk@mozilla.org
-rwxr-xr-x | checksetup.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/checksetup.pl b/checksetup.pl index 053adc192..63bf3e19c 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -123,8 +123,8 @@ sub trim { # print "\nChecking perl modules ...\n"; -unless (eval "require 5.004") { - die "Sorry, you need at least Perl 5.004\n"; +unless (eval "require 5.005") { + die "Sorry, you need at least Perl 5.005\n"; } # vers_cmp is adapted from Sort::Versions 1.3 1996/07/11 13:37:00 kjahds, @@ -192,7 +192,8 @@ unless (have_vers("DBI","1.13")) { push @missing,"DBI" } unless (have_vers("Data::Dumper",0)) { push @missing,"Data::Dumper" } unless (have_vers("DBD::mysql","1.2209")) { push @missing,"DBD::mysql" } unless (have_vers("Date::Parse",0)) { push @missing,"Date::Parse" } -unless (have_vers("Template","2.01")) { push @missing,"Template" } +unless (have_vers("AppConfig","1.52")) { push @missing,"AppConfig" } +unless (have_vers("Template","2.01")) { push @missing,"Template" } # If CGI::Carp was loaded successfully for version checking, it changes the # die and warn handlers, we don't want them changed, so we need to stash the |