Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Made meta tag compatible with MakeMaker versions < 6.50

  • Loading branch information...
commit b1c59aed59dac36959bf57d5c5abc5cbee5395d0 1 parent cc1dc6d
@mschilli mschilli authored
Showing with 13 additions and 6 deletions.
  1. +3 −0  Changes
  2. +10 −6 Makefile.PL
View
3  Changes
@@ -2,6 +2,9 @@
Revision history for Log::Log4perl
##################################################
+1.27 (not yet released)
+ * (ms) Made meta tag compatible with MakeMaker versions < 6.50
+
1.26 (2009/11/22)
* (ms) [RT 50495] Perl code in the config file is now evaluated/
compiled after the configuration parser has done its work,
View
16 Makefile.PL
@@ -31,6 +31,15 @@ if($@) {
"%r will use full seconds\n";
}
+my $meta_merge = {
+ META_MERGE => {
+ resources => {
+ repository => 'http://github.com/mschilli/log4perl',
+ MailingList => 'mailto:log4perl-devel@lists.sourceforge.net',
+ },
+ }
+};
+
WriteMakefile(
'NAME' => 'Log::Log4perl',
'VERSION_FROM' => 'lib/Log/Log4perl.pm', # finds $VERSION
@@ -48,12 +57,7 @@ WriteMakefile(
# 'OBJECT' => '$(O_FILES)', # link all the C files too
'clean' => {FILES => "*.tar.gz *.ppd pod2htm*"},
EXE_FILES => ["eg/l4p-tmpl"],
- META_MERGE => {
- resources => {
- repository => 'http://github.com/mschilli/log4perl',
- MailingList => 'mailto:log4perl-devel@lists.sourceforge.net',
- },
- },
+ $ExtUtils::MakeMaker::VERSION >= 6.50 ? (%$meta_merge) : (),
get_man3pods(),
);
Please sign in to comment.
Something went wrong with that request. Please try again.