Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* applied patch from Axel Gerstmair to fix File::Spec and File::Temp

  versions in Makefile.PL


git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@650 d5a88997-0a34-4036-9ed2-92fb5d660d91
  • Loading branch information...
commit 5d8ad91ecbfd0832e6c7384bd9228dd53a779e78 1 parent ad3a46e
@abw authored
Showing with 15 additions and 3 deletions.
  1. +15 −3 Makefile.PL
View
18 Makefile.PL
@@ -374,10 +374,10 @@ EOF
}
eval "use File::Spec";
- if ($@ or $File::Spec::VERSION < 0.6) {
+ if ($@ or $File::Spec::VERSION < 0.8) {
warn(<<EOF);
-The Template Toolkit requires that the File::Spec module (version 0.6
+The Template Toolkit requires that the File::Spec module (version 0.8
or later) first be installed. This is used by the File plugin. It is
available from CPAN:
@@ -385,8 +385,20 @@ available from CPAN:
EOF
}
-}
+ eval "use File::Temp";
+ if ($@ or $File::Temp::VERSION < 0.12) {
+ warn(<<EOF);
+
+The Template Toolkit requires that the File::Temp module (version 0.12
+or later) first be installed. This is used by the Template::Document
+class for storing compiled templates. It is available from CPAN:
+
+ http://search.cpan.org/search?dist=File-Temp
+
+EOF
+ }
+}
#------------------------------------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.