Permalink
Browse files

More tweaks to Makefile.PL and bumped a few version numbers/copyright…

… messages

git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@1149 d5a88997-0a34-4036-9ed2-92fb5d660d91
  • Loading branch information...
1 parent 8b5c5f7 commit 7986af15dcae1d6c7ed1f7d21ef6fca424755d0d @abw committed Aug 7, 2008
Showing with 4 additions and 53 deletions.
  1. +1 −15 Makefile.PL
  2. +2 −2 lib/Template.pm
  3. +1 −1 lib/Template/Toolkit.pod
  4. +0 −35 todo_misc/Template-Provider.pm.diff
View
@@ -82,7 +82,7 @@ EOF
# in this script, here defaulted to sensible values
$TT_VERSION = $Template::VERSION;
-$TT_PREFIX = $PREFIX;
+$TT_PREFIX = ''; # $PREFIX;
$TT_IMAGES = $IMAGES;
$TT_BUILD_DOCS = 'n';
$TT_SPLASH_DOCS = 'n';
@@ -274,20 +274,6 @@ Configuration complete. You should now run '$MAKE', '$MAKE test' and
then '$MAKE install'. See the README file for further information.
EOF
-message(<<EOF) if $TT_PREFIX;
-
-
-Installation Notes
-------------------
-
-Please note that the installation of the optional components and
-building of the HTML documentation is performed at the "make install"
-stage as the effective user at that time. This implies that this user
-must have sufficient permission to install into the specified
-directory and that all created directories and files will be owned by
-them.
-
-EOF
#========================================================================
View
@@ -896,11 +896,11 @@ Andy Wardley E<lt>abw@wardley.orgE<gt> L<http://wardley.org/>
=head1 VERSION
-Template Toolkit version 2.20, released June 2007.
+Template Toolkit version 2.20, released August 2008.
=head1 COPYRIGHT
-Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved.
+Copyright (C) 1996-2008 Andy Wardley. All Rights Reserved.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
@@ -118,7 +118,7 @@ number of people. Please see L<Template::Manual::Credits> for a full list.
=head1 Copyright
-Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved.
+Copyright (C) 1996-2008 Andy Wardley. All Rights Reserved.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
@@ -1,35 +0,0 @@
---- /usr/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi/Template/Provider.pm 2004-01-30 18:37:50.000000000 +0000
-+++ Template/Provider.pm 2005-12-18 00:50:02.264515495 +0000
-@@ -418,7 +418,7 @@
- if (defined $size && ! $size) {
- # caching disabled so load and compile but don't cache
- if ($compiled && -f $compiled
-- && (stat($name))[9] <= (stat($compiled))[9]) {
-+ && $self->_mtime($name) <= (stat($compiled))[9]) {
- $data = $self->_load_compiled($compiled);
- $error = $self->error() unless $data;
- }
-@@ -752,8 +752,8 @@
- my ($slot, $head);
-
- # extract the load time and compiled template from the data
--# my $load = $data->{ load };
-- my $load = (stat($name))[9];
-+ my $load = $self->_mtime($name);
-+# my $load = (stat($name))[9];
- $data = $data->{ data };
-
- $self->debug("_store($name, $data)") if $self->{ DEBUG };
-@@ -800,6 +800,12 @@
- return $data;
- }
-
-+sub _mtime
-+{
-+ my ($self, $name) = @_;
-+ my $load = (stat($name))[9];
-+ return $load;
-+}
-
- #------------------------------------------------------------------------
- # _compile($data)

0 comments on commit 7986af1

Please sign in to comment.