install to "site" for newer perls, as per p5p recommendation (see RT#67667)
[p5sagit/Module-Metadata.git] / Makefile.PL
index c4f0312..b8d6de0 100644 (file)
@@ -31,4 +31,6 @@ WriteMakefile(
       homepage => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Module-Metadata.git',
     },
   },
+
+  INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'),
 );