From: Karen Etheridge Date: Wed, 8 May 2013 22:55:30 +0000 (-0700) Subject: install to "site" for newer perls, as per p5p recommendation (see RT#67667) X-Git-Tag: v1.000013~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a2115d459dc9653398c3543e8deb41bbed014f08;p=p5sagit%2FModule-Metadata.git install to "site" for newer perls, as per p5p recommendation (see RT#67667) --- diff --git a/Changes b/Changes index e057747..c69d7df 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,7 @@ Release history for Module-Metadata - Fix reliance on recent Test::Builder - Make tests perl 5.6 compatible + - now installs to 'site' for perl 5.12+, as per p5p recommendation 1.000012 - 2013-05-04 - improved package detection heuristics (thanks, Edward Zborowski!) diff --git a/Makefile.PL b/Makefile.PL index c4f0312..b8d6de0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -31,4 +31,6 @@ WriteMakefile( homepage => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Module-Metadata.git', }, }, + + INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'), );