From: Jarkko Hietaniemi Date: Tue, 12 Aug 2003 08:11:08 +0000 (+0000) Subject: The Debian people have expressed a wish for the boilerplate X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a42b7cd7ba47cae246abc5cd8f9dc7ba948aaa55;p=p5sagit%2Fp5-mst-13.2.git The Debian people have expressed a wish for the boilerplate being specific about the Perl version; patch from Nicholas Clark. p4raw-id: //depot/perl@20632 --- diff --git a/utils/h2xs.PL b/utils/h2xs.PL index 6e1f297..c21a724 100644 --- a/utils/h2xs.PL +++ b/utils/h2xs.PL @@ -1232,7 +1232,7 @@ print PM <<"END"; __END__ END -my ($email,$author); +my ($email,$author,$licence); eval { my $username; @@ -1248,6 +1248,14 @@ eval { $author ||= "A. U. Thor"; $email ||= 'a.u.thor@a.galaxy.far.far.away'; +$licence = sprintf << "DEFAULT", $^V; +Copyright (C) ${\(1900 + (localtime) [5])} by $author + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself, either Perl version %vd or, +at your option, any later version of Perl 5 you may have available. +DEFAULT + my $revhist = ''; $revhist = <